From 6da3c5d1c5b74c03900a860d25bc071e4a76fd2c Mon Sep 17 00:00:00 2001 From: Yotam Mann Date: Fri, 13 Jan 2017 16:37:02 -0500 Subject: [PATCH] app->src and starting at FeatureTest before Main.js --- static/webpack.config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/static/webpack.config.js b/static/webpack.config.js index 6f31c45..d903076 100644 --- a/static/webpack.config.js +++ b/static/webpack.config.js @@ -21,7 +21,7 @@ var PROD = process.argv.indexOf('-p') !== -1 module.exports = { 'context': __dirname, entry: { - 'Main': 'app/Main', + 'Main': 'src/FeatureTest', }, output: { filename: './build/[name].js', @@ -30,7 +30,7 @@ module.exports = { }, resolve: { root: __dirname, - modulesDirectories : ['node_modules', 'app', 'third_party', 'node_modules/tone', 'style'], + modulesDirectories : ['node_modules', 'src', 'third_party', 'node_modules/tone', 'style'], }, plugins: PROD ? [ new webpack.optimize.UglifyJsPlugin({minimize: true}) @@ -39,7 +39,7 @@ module.exports = { loaders: [ { test: /\.js$/, - exclude: /(node_modules)/, + exclude: /(node_modules|Tone\.js)/, loader: 'babel', // 'babel-loader' is also a valid name to reference query: { presets: ['es2015']