<commit_before>const webpack = require("webpack");
const merge = require("webpack-merge");
const workboxPlugin = require("workbox-webpack-plugin");
const GitRevisionPlugin = require("git-revision-webpack-plugin");
const UglifyJsPlugin = require("uglifyjs-webpack-plugin");
const common = require("./webpack.common.js");

const gitRevisionPlugin = new GitRevisionPlugin();

const config = merge(common, {
  devtool: "source-map",
  plugins: [
    new webpack.DefinePlugin({
      "process.env": {
        NODE_ENV: JSON.stringify("production")
      },
      SENTRY_DSN: JSON.stringify(
        "https://12b6be8ef7c44f28ac37ab5ed98fd294@sentry.io/146021"
      ),
      COMMITHASH: JSON.stringify(gitRevisionPlugin.commithash())
    }),
    new UglifyJsPlugin({
      // TODO: Is this needed with the devtool setting above?
      sourceMap: true,
      parallel: true,
      uglifyOptions: {
        compress: {
          // Workaround: https://github.com/mishoo/UglifyJS2/issues/2842
          inline: false
        }
      }
    }),
    new workboxPlugin.GenerateSW({
      // Note: CloudFlare is configued to not cache this file, as suggested in the:
      // "Avoid changing the URL of your service worker script" sectio of:
      // https://developers.google.com/web/fundamentals/primers/service-workers/lifecycle
      swDest: "service-worker.js",
      clientsClaim: true,
      skipWaiting: true
    })
  ]
});

config.entry.webamp.unshift("./js/googleAnalytics.min.js");

module.exports = config;<commit_msg>Remove out of date comment<commit_after>const webpack = require("webpack");
const merge = require("webpack-merge");
const workboxPlugin = require("workbox-webpack-plugin");
const GitRevisionPlugin = require("git-revision-webpack-plugin");
const UglifyJsPlugin = require("uglifyjs-webpack-plugin");
const common = require("./webpack.common.js");

const gitRevisionPlugin = new GitRevisionPlugin();

const config = merge(common, {
  devtool: "source-map",
  plugins: [
    new webpack.DefinePlugin({
      "process.env": {
        NODE_ENV: JSON.stringify("production")
      },
      SENTRY_DSN: JSON.stringify(
        "https://12b6be8ef7c44f28ac37ab5ed98fd294@sentry.io/146021"
      ),
      COMMITHASH: JSON.stringify(gitRevisionPlugin.commithash())
    }),
    new UglifyJsPlugin({
      // TODO: Is this needed with the devtool setting above?
      sourceMap: true,
      parallel: true,
      uglifyOptions: {
        compress: {
          // Workaround: https://github.com/mishoo/UglifyJS2/issues/2842
          inline: false
        }
      }
    }),
    new workboxPlugin.GenerateSW({
      swDest: "service-worker.js",
      clientsClaim: true,
      skipWaiting: true
    })
  ]
});

config.entry.webamp.unshift("./js/googleAnalytics.min.js");

module.exports = config;
{'fraction_non_alphanumeric': 0.1298283261802575, 'fraction_numerical': 0.020028612303290415, 'mean_word_length': 3.1437037037037037, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 5, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2721033', 'n_tokens_mistral': 899, 'n_tokens_neox': 861, 'n_words': 168}