{"size": 572, "ext": "js", "max_stars_repo_path": "popup/config/build.prod.js", "max_stars_repo_name": "reyraa/reduxMonitor", "max_stars_repo_stars_event_min_datetime": "2021-07-08T19:25:24.000Z", "max_stars_repo_stars_event_max_datetime": "2021-11-20T18:33:44.000Z", "max_issues_repo_path": "popup/config/build.prod.js", "max_issues_repo_name": "reyraa/reduxMonitor", "max_issues_repo_issues_event_min_datetime": "2021-06-28T23:28:29.000Z", "max_issues_repo_issues_event_max_datetime": "2021-10-01T10:41:26.000Z", "max_forks_repo_path": "popup/config/build.prod.js", "max_forks_repo_name": "reyraa/reduxMonitor", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 5, "max_issues_count": 11, "max_forks_count": null, "avg_line_length": 22.0, "max_line_length": 63, "alphanum_fraction": 0.520979021}
import esbuild from 'esbuild';

esbuild
  .build({
    entryPoints: ['./src/app.tsx'],
    bundle: true,
    minify: true,
    sourcemap: true,
    // target: ['chrome58', 'firefox57', 'safari11', 'edge16'],
    tsconfig: 'tsconfig.json',
    outfile: './public/bundle.js',
    // splitting: true,
    // chunkNames: "",
    define: {
      'process.env.NODE_ENV': '"production"',
    },
    loader: {
      '.png': 'dataurl',
      '.eot': 'dataurl',
      '.svg': 'dataurl',
      '.ttf': 'dataurl',
      '.woff': 'dataurl',
    },
  })
  .catch(() => process.exit(1))
