diff options
Diffstat (limited to 'juick-www/webpack.config.js')
-rw-r--r-- | juick-www/webpack.config.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-www/webpack.config.js b/juick-www/webpack.config.js index 1885efee..018cc812 100644 --- a/juick-www/webpack.config.js +++ b/juick-www/webpack.config.js @@ -24,7 +24,7 @@ module.exports = { module: { loaders: [ { test: /\.jsx?$/, loader: 'eslint-loader', enforce: 'pre', exclude: /node_modules/, options: { failOnWarning: false, failOnError: true }}, - { test: /\.js$/, loader: 'babel-loader', query: { presets: ['es2015'] }}, + { test: /\.js$/, loader: 'babel-loader', query: { presets: ['env'] }}, { test: /\.css$/, loader: ExtractTextPlugin.extract({ fallback: "style-loader", use: "css-loader" }) }, { test: /\.png$/, loader: "url-loader?limit=10000000000" }, { test: /\.svg$/, loader: "url-loader?limit=10000000000" } |