{"size": 742, "ext": "js", "max_stars_repo_path": "webpack.config.js", "max_stars_repo_name": "denisftw/play-event-sourcing-starter", "max_stars_repo_stars_event_min_datetime": "2017-01-09T05:58:20.000Z", "max_stars_repo_stars_event_max_datetime": "2019-11-13T18:54:15.000Z", "max_issues_repo_path": "webpack.config.js", "max_issues_repo_name": "denisftw/play-event-sourcing-starter", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "webpack.config.js", "max_forks_repo_name": "denisftw/play-event-sourcing-starter", "max_forks_repo_forks_event_min_datetime": "2017-07-14T15:40:28.000Z", "max_forks_repo_forks_event_max_datetime": "2021-01-26T08:58:18.000Z"}
{"max_stars_count": 19, "max_issues_count": null, "max_forks_count": 4, "avg_line_length": 30.9166666667, "max_line_length": 117, "alphanum_fraction": 0.5876010782}
var webpack = require('webpack');
var ExtractTextPlugin = require("extract-text-webpack-plugin");

module.exports = {
  entry: './ui/entry.js',
  output: { path: __dirname + '/public/compiled', filename: 'bundle.js' },
  module: {
    loaders: [
      { test: /\.jsx?$/, loader: 'babel-loader', include: /ui/, query: { presets: ['es2015', 'stage-0', 'react'] } },
      { test: /\.scss$/, loader: ExtractTextPlugin.extract( "style", "css!sass") },
      { test: /\.(eot|woff|woff2|ttf|svg|png|jpg)$/, loader: 'url-loader?limit=1' }
    ]
  },
  plugins: [
    new ExtractTextPlugin("styles.css"),
    new webpack.ProvidePlugin({
      $: 'jquery',
      jQuery: 'jquery',
      'window.jQuery': 'jquery'
    })
  ],
  devtool: 'source-map'
}
