<commit_before>module.exports = {
  webpack: (config, { buildId, dev }) => {
    config.module.rules.push({
      test: /\.js$/,
      exclude: /node_modules/,
      loader: "babel-loader"
    });

    config.resolve = Object.assign({}, config.resolve, {
      mainFields: ["nteractDesktop", "es2015", "jsnext:main", "module", "main"]
    });
    return config;
  }
};<commit_msg>configure nteract showcase with our webpack config<commit_after>const configurator = require("@nteract/webpack-configurator");

module.exports = {
  webpack: (config, { buildId, dev }) => {
    config.module.rules.push({
      test: /\.js$/,
      exclude: configurator.exclude,
      loader: "babel-loader"
    });

    config.resolve = Object.assign({}, config.resolve, {
      mainFields: ["nteractDesktop", "es2015", "jsnext:main", "module", "main"],
      alias: configurator.mergeDefaultAliases(config.resolve.alias)
    });
    return config;
  }
};
{'fraction_non_alphanumeric': 0.17414529914529914, 'fraction_numerical': 0.008547008547008548, 'mean_word_length': 3.2981651376146788, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, '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': '5307507', 'n_tokens_mistral': 316, 'n_tokens_neox': 297, 'n_words': 57}