{"size": 826, "ext": "js", "max_stars_repo_path": "webpack.production.config.js", "max_stars_repo_name": "jccultima123/jcsimple-php-app", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "webpack.production.config.js", "max_issues_repo_name": "jccultima123/jcsimple-php-app", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "webpack.production.config.js", "max_forks_repo_name": "jccultima123/jcsimple-php-app", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 21.7368421053, "max_line_length": 51, "alphanum_fraction": 0.5956416465}
/*eslint-env node */
'use strict'
const path = require('path')
const webpack = require('webpack')
const PATHS = {
  index: path.join(__dirname, './assets/_js/')
}

module.exports = {
  entry: {
    index: './assets/_js/index.js'
  },
  resolve: {
    extensions: ['', '.js', '.jsx']
  },
  output: {
    path: __dirname,
    filename: './assets/js/[name].js'
  },
  externals: {
    "jquery": "$"
  },
  plugins: [
    new webpack.DefinePlugin({
    'process.env': {
      'NODE_ENV': JSON.stringify('production')
      }
    }),
    new webpack.DefinePlugin({ 'PROD_ENV': true }),
    new webpack.optimize.DedupePlugin(),
    new webpack.optimize.OccurenceOrderPlugin(),
    new webpack.optimize.UglifyJsPlugin({
       compressor: { warnings: false }
    }),
    new webpack.NoErrorsPlugin()
  ],
  stats: { colors: true }
}