summaryrefslogtreecommitdiffstats
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
parent605f2a289b7a87f131c7fb989a8254c9b9d1401a (diff)
downloadchat-5e2b4d1282dc374b54ca2c77fbf84c6533ce8519.tar.gz
chat-5e2b4d1282dc374b54ca2c77fbf84c6533ce8519.tar.bz2
chat-5e2b4d1282dc374b54ca2c77fbf84c6533ce8519.zip
Fixing build failure caused by dependancies updating
-rw-r--r--webapp/package.json4
-rw-r--r--webapp/webpack.config.js7
2 files changed, 7 insertions, 4 deletions
diff --git a/webapp/package.json b/webapp/package.json
index 651c287ef..d68223408 100644
--- a/webapp/package.json
+++ b/webapp/package.json
@@ -34,12 +34,12 @@
"velocity-animate": "1.2.3"
},
"devDependencies": {
- "babel-core": "6.10.4",
+ "babel-core": "6.13.2",
"babel-eslint": "6.1.2",
"babel-loader": "6.2.4",
"babel-plugin-transform-runtime": "6.9.0",
"babel-polyfill": "6.9.1",
- "babel-preset-es2015-webpack": "6.4.1",
+ "babel-preset-es2015": "6.13.2",
"babel-preset-react": "6.11.1",
"babel-preset-stage-0": "6.5.0",
"copy-webpack-plugin": "3.0.1",
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
}