{"size": 622, "ext": "js", "max_stars_repo_path": "packages/browser-extension/config-overrides.js", "max_stars_repo_name": "dragonly/gdocwiki", "max_stars_repo_stars_event_min_datetime": "2020-12-14T06:11:40.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-08T22:27:59.000Z", "max_issues_repo_path": "packages/browser-extension/config-overrides.js", "max_issues_repo_name": "dragonly/gdocwiki", "max_issues_repo_issues_event_min_datetime": "2020-12-14T06:31:29.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-29T11:17:18.000Z", "max_forks_repo_path": "packages/browser-extension/config-overrides.js", "max_forks_repo_name": "dragonly/gdocwiki", "max_forks_repo_forks_event_min_datetime": "2020-12-14T06:07:32.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-29T05:47:27.000Z"}
{"max_stars_count": 67, "max_issues_count": 79, "max_forks_count": 13, "avg_line_length": 28.2727272727, "max_line_length": 86, "alphanum_fraction": 0.6061093248}
const path = require('path');
const { override, adjustStyleLoaders } = require('customize-cra');

module.exports = override(
  adjustStyleLoaders(({ use }) => {
    if (typeof use[0] === 'object') {
      // Disable minicss extraction.
      if (use[0].loader) {
        use[0] = require.resolve('style-loader');
      }
    }
    // Add prefix to css modules.
    if (use[1].options.modules) {
      use[1].options.modules.localIdentName = '__gdocwiki__[local]--[hash:base64:5]';
    }
  }),
  (config) => {
    config.entry['contentScript.oauth2'] = path.resolve('./src/contentScript.oauth2');
    return config;
  }
);
