From 1dad7c9928291ed19021b9f118dbe6dd736017ba Mon Sep 17 00:00:00 2001 From: KillyMXI Date: Sat, 17 Jun 2017 20:27:36 +0300 Subject: juick-www: all (two) js files are processed with babel --- juick-www/webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'juick-www/webpack.config.js') diff --git a/juick-www/webpack.config.js b/juick-www/webpack.config.js index cb36da08..c05579ea 100644 --- a/juick-www/webpack.config.js +++ b/juick-www/webpack.config.js @@ -17,8 +17,8 @@ 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: /\.css$/, loader: 'csslint-loader?failOnWarning=false', enforce: 'pre', exclude: /node_modules/ }, - { test: /killy.index\.js$/, loader: 'babel-loader', query: { presets: ['es2015'] }}, { 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" } -- cgit v1.2.3