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:02:07 -0400
commitf9e2674e35632a7467ee0072fe967450d50c633c (patch)
treeb167e917d5613455d893cbe1cc055136ea731879 /webapp/webpack.config.js
parent78d853212bf1042b0211ee8846ad5c5a4a637e76 (diff)
downloadchat-f9e2674e35632a7467ee0072fe967450d50c633c.tar.gz
chat-f9e2674e35632a7467ee0072fe967450d50c633c.tar.bz2
chat-f9e2674e35632a7467ee0072fe967450d50c633c.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
}