{"size": 987, "ext": "js", "max_stars_repo_path": "Configs/es2015.multientry.commonchunk.webpack.config.js", "max_stars_repo_name": "TheOpenDevProject/WebPack-VS", "max_stars_repo_stars_event_min_datetime": "2016-08-25T05:28:04.000Z", "max_stars_repo_stars_event_max_datetime": "2019-12-20T08:05:06.000Z", "max_issues_repo_path": "Configs/es2015.multientry.commonchunk.webpack.config.js", "max_issues_repo_name": "TheOpenDevProject/WebPack-VS", "max_issues_repo_issues_event_min_datetime": "2016-10-05T23:35:20.000Z", "max_issues_repo_issues_event_max_datetime": "2018-01-06T06:06:13.000Z", "max_forks_repo_path": "Configs/es2015.multientry.commonchunk.webpack.config.js", "max_forks_repo_name": "TheOpenDevProject/WebPack-VS", "max_forks_repo_forks_event_min_datetime": "2016-10-28T14:05:53.000Z", "max_forks_repo_forks_event_max_datetime": "2018-09-28T17:58:23.000Z"}
{"max_stars_count": 6, "max_issues_count": 1, "max_forks_count": 6, "avg_line_length": 26.6756756757, "max_line_length": 82, "alphanum_fraction": 0.5035460993}
/// <binding BeforeBuild='Run - Development' />
"use strict";
var path = require('path');
var jQuery = require('jQuery');
module.exports = {
    context: __dirname + "/Scripts",
    entry: {
        ExampleB: './ExampleUserCode/index.js',
        ExampleA: './ExampleUserCodeB/index.js',
        vendor: ["jQuery"]
    },
    output: {
        filename: "[name].index.js",
        path: __dirname + '/Scripts/Build'
    },
    module: {
        loaders: [
          {
              test: /\.js?$/,
              exclude: /(node_modules|bower_components)/,
              loader: 'babel', // 'babel-loader' is also a legal name to reference
              query: {
                  presets: ['es2015']
              }
          }
        ]
    },
    plugins: [
         new webpack.ProvidePlugin({
            jQuery : "jQuery"
        }),
        new webpack.IgnorePlugin(/locale/, /moment$/),
        new webpack.optimize.CommonsChunkPlugin("vendor","vendor_libs.js")
        
    ]
};
