From 5e2b4d1282dc374b54ca2c77fbf84c6533ce8519 Mon Sep 17 00:00:00 2001 From: Christopher Speller Date: Sun, 7 Aug 2016 10:01:17 -0400 Subject: Fixing build failure caused by dependancies updating --- webapp/webpack.config.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'webapp/webpack.config.js') 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 } -- cgit v1.2.3-1-g7c22