summaryrefslogtreecommitdiffstats
path: root/webapp/webpack.config.js
diff options
context:
space:
mode:
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
}