<commit_before>'use strict';

var webpack = require('webpack');
var ngAnnotatePlugin = require('ng-annotate-webpack-plugin');
var ExtractPlugin = require('extract-text-webpack-plugin');

var APP = __dirname + '/app';

module.exports = {
  // config goes here
  context: APP,
  entry: {
    app: ['./core/bootstrap.js'],
    vendors: [
      'angular',
      'angular-route',
      'angular-animate',
      'angular-cookies',
      'd3',
      'jquery',
      'jquery-ui',
      'bootstrap-webpack',
      'angular-ui-bootstrap'
    ]
  },
  module: {
    loaders: [
      { test: /\.js$/, loader: 'ng-annotate!babel?presets[]=es2015!jshint', exclude: /node_modules/},
      { test: /\.js$/, loader: 'eslint-loader', exclude: /node_modules/},

      { test: /\.html$/, loader: 'ng-cache?prefix=[dir]/[dir]', exclude: /index.html/},

      // Needed for the css-loader when [bootstrap-webpack](https://github.com/bline/bootstrap-webpack)
      // loads bootstrap's css.
      { test: /\.woff(2)?(\?v=[0-9]\.[0-9]\.[0-9])?$/,
        loader: 'url-loader?limit=10000&minetype=application/font-woff&name=fonts/[name].[ext]' },
      { test: /\.(ttf|eot|svg)(\?v=[0-9]\.[0-9]\.[0-9])?$/, loader: 'file-loader?name=img/[name].[ext]' },
      { test: /\.css$/, loader: ExtractPlugin.extract('style', 'css') },
      { test: /\.(jpg|png|gif)$/, loader: 'file-loader?name=img/[name].[ext]'}
    ]
  },
  plugins: [
    new webpack.ProvidePlugin({
      d3: 'd3',
      $: 'jquery',
      jQuery: 'jquery'
    }),

    new webpack.DefinePlugin({
      __LOGGING__: false,
      __PROXY__: false
    }),

    new ngAnnotatePlugin({
      add: true
    }),

    new ExtractPlugin('styles/bundle.css'),

    new webpack.optimize.CommonsChunkPlugin('vendors', 'js/vendors.js')
  ],
  output: {
    path: __dirname + '/dist',
    filename: 'js/bundle.js'
  },
  devtool: false
};<commit_msg>Fix broken bg image links of jquery-ui in production.<commit_after>'use strict';

var webpack = require('webpack');
var ngAnnotatePlugin = require('ng-annotate-webpack-plugin');
var ExtractPlugin = require('extract-text-webpack-plugin');

var APP = __dirname + '/app';

module.exports = {
  // config goes here
  context: APP,
  entry: {
    app: ['./core/bootstrap.js'],
    vendors: [
      'angular',
      'angular-route',
      'angular-animate',
      'angular-cookies',
      'd3',
      'jquery',
      'jquery-ui',
      'bootstrap-webpack',
      'angular-ui-bootstrap'
    ]
  },
  module: {
    loaders: [
      { test: /\.js$/, loader: 'ng-annotate!babel?presets[]=es2015!jshint', exclude: /node_modules/},
      { test: /\.js$/, loader: 'eslint-loader', exclude: /node_modules/},

      { test: /\.html$/, loader: 'ng-cache?prefix=[dir]/[dir]', exclude: /index.html/},

      // Needed for the css-loader when [bootstrap-webpack](https://github.com/bline/bootstrap-webpack)
      // loads bootstrap's css.
      { test: /\.woff(2)?(\?v=[0-9]\.[0-9]\.[0-9])?$/,
        loader: 'url-loader?limit=10000&minetype=application/font-woff&name=fonts/[name].[ext]' },
      { test: /\.(ttf|eot|svg)(\?v=[0-9]\.[0-9]\.[0-9])?$/, loader: 'file-loader?name=img/[name].[ext]' },
      { test: /\.css$/, loader: ExtractPlugin.extract('style', 'css') },
      { test: /\.(jpg|png|gif)$/, loader: 'file-loader?name=img/[name].[ext]'}
    ]
  },
  plugins: [
    new webpack.ProvidePlugin({
      d3: 'd3',
      $: 'jquery',
      jQuery: 'jquery'
    }),

    new webpack.DefinePlugin({
      __LOGGING__: false,
      __PROXY__: false
    }),

    new ngAnnotatePlugin({
      add: true
    }),

    new ExtractPlugin('styles.css'),

    new webpack.optimize.CommonsChunkPlugin('vendors', 'js/vendors.js')
  ],
  output: {
    path: __dirname + '/dist',
    filename: 'js/bundle.js'
  },
  devtool: false
};
{'fraction_non_alphanumeric': 0.211208035950304, 'fraction_numerical': 0.013217023526301877, 'mean_word_length': 2.7244094488188977, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '2334984', 'n_tokens_mistral': 1416, 'n_tokens_neox': 1336, 'n_words': 230}