<commit_before>const webpack = require('webpack');

module.exports = {
  externals: {
    jquery: 'var null',
  },
  devtool: 'source-map',
  plugins: [
    // eslint-disable-next-line id-match
    new webpack.DefinePlugin({ DEBUG: false, PRODUCTION: false, TEST: false, WEBPACK_DEV_SERVER: false }),
  ],
  resolve: {
    extensions: [ '.ts', '.tsx', '.webpack.js', '.web.js', '.js' ],
    alias: {
    },
  },
  // failOnError: true,
};<commit_msg>fixing issue with moment see: https://github.com/moment/moment/issues/4216<commit_after>const webpack = require('webpack');

module.exports = {
  externals: {
    jquery: 'var null',
  },
  devtool: 'source-map',
  plugins: [
    // eslint-disable-next-line id-match
    new webpack.DefinePlugin({ DEBUG: false, PRODUCTION: false, TEST: false, WEBPACK_DEV_SERVER: false }),
  ],
  resolve: {
    extensions: [ '.ts', '.tsx', '.webpack.js', '.web.js', '.js' ],
    alias: {
      'moment$': 'moment/moment',
    },
  },
  // failOnError: true,
};
{'fraction_non_alphanumeric': 0.19195979899497487, 'fraction_numerical': 0.004020100502512563, 'mean_word_length': 3.1848739495798317, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '6093445', 'n_tokens_mistral': 352, 'n_tokens_neox': 348, 'n_words': 73}