summaryrefslogtreecommitdiffstats
path: root/webapp/webpack.config.js
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-08-07 10:01:17 -0400
committerChristopher Speller <crspeller@gmail.com>2016-08-07 10:01:17 -0400
commit5e2b4d1282dc374b54ca2c77fbf84c6533ce8519 (patch)
tree89a68b922841e20d4abc6e86f41798f02f30bf17 /webapp/webpack.config.js
parent605f2a289b7a87f131c7fb989a8254c9b9d1401a (diff)
downloadchat-5e2b4d1282dc374b54ca2c77fbf84c6533ce8519.tar.gz
chat-5e2b4d1282dc374b54ca2c77fbf84c6533ce8519.tar.bz2
chat-5e2b4d1282dc374b54ca2c77fbf84c6533ce8519.zip
Fixing build failure caused by dependancies updating
Diffstat (limited to 'webapp/webpack.config.js')
-rw-r--r--webapp/webpack.config.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/webapp/webpack.config.js b/webapp/webpack.config.js
index 8b1f4b21a..d0947f1a3 100644
--- a/webapp/webpack.config.js
+++ b/webapp/webpack.config.js
@@ -1,6 +1,5 @@
const webpack = require('webpack');
const path = require('path');
-const ExtractTextPlugin = require('extract-text-webpack-plugin');
const CopyWebpackPlugin = require('copy-webpack-plugin');
const nodeExternals = require('webpack-node-externals');
@@ -38,7 +37,11 @@ var config = {
loader: 'babel',
exclude: /(node_modules|non_npm_dependencies)/,
query: {
- presets: ['react', 'es2015-webpack', 'stage-0'],
+ presets: [
+ 'react',
+ ['es2015', {modules: false}],
+ 'stage-0'
+ ],
plugins: ['transform-runtime'],
cacheDirectory: DEV
}