getPageConfig = () => {
  const config = getBaseConfig();
  config.entry = Object.fromEntries(pages.map(name => [`${name}/index`, `./src/${name}`]));
  config.plugins = [
    ...config.plugins,
    ...pages.filter(key => key !== 'background').map(createHtmlPage),
  ];
  return config;
}
/*.css
          styleRule(styleOptions, {
            include: [nodeModules],
          }),
          // CSS modules: src/*