<commit_before>import path from 'path';
import webpack from 'webpack';

const paths = {
  ASSETS: path.resolve(__dirname, './assets'),
  SRC: path.resolve(__dirname),
  COMPONENTS: path.resolve(__dirname, '../src'),
  DIST: path.resolve(__dirname, './build')
};

module.exports = {

  plugins: [
    new webpack.ContextReplacementPlugin(/moment[\/\\]locale$/, /de|fr|en/)
  ],

  module: {
    loaders: [
      {
        test: /\.jsx?$/,
        loader: 'babel',
        exclude: [ paths.ASSETS ],
        include: [
          paths.COMPONENTS,
          paths.SRC,
          /rc-datepicker/,
          /react-input-children/,
          /react-autosize-textarea/,
          /react-cookie-banner/,
          /revenge-react-components/
        ]
      }
    ],
    preLoaders: [
      {
        test: /\.jsx?$/,
        loader: 'eslint',
        include: paths.SRC,
        exclude: paths.ASSETS
      }
    ]
  }

};
<commit_msg>dont transpile examples<commit_after>import path from 'path';
import webpack from 'webpack';

const paths = {
  ASSETS: path.resolve(__dirname, './assets'),
  SRC: path.resolve(__dirname),
  COMPONENTS: path.resolve(__dirname, '../src'),
  DIST: path.resolve(__dirname, './build')
};

module.exports = {

  plugins: [
    new webpack.ContextReplacementPlugin(/moment[\/\\]locale$/, /de|fr|en/)
  ],

  module: {
    loaders: [
      {
        test: /\.jsx?$/,
        loader: 'babel',
        exclude: [ paths.ASSETS, /src\/.+\/examples/ ],
        include: [
          paths.COMPONENTS,
          paths.SRC,
          /rc-datepicker/,
          /react-input-children/,
          /react-autosize-textarea/,
          /react-cookie-banner/,
          /revenge-react-components/
        ]
      }
    ],
    preLoaders: [
      {
        test: /\.jsx?$/,
        loader: 'eslint',
        include: paths.SRC,
        exclude: paths.ASSETS
      }
    ]
  }

};

{'fraction_non_alphanumeric': 0.1658717541070482, 'fraction_numerical': 0.0, 'mean_word_length': 1.7887740029542099, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2205768', 'n_tokens_mistral': 642, 'n_tokens_neox': 609, 'n_words': 105}