diff options
author | KillyMXI | 2017-06-17 20:27:36 +0300 |
---|---|---|
committer | KillyMXI | 2017-06-17 20:27:36 +0300 |
commit | 1dad7c9928291ed19021b9f118dbe6dd736017ba (patch) | |
tree | e592e82f6815aed4031a6ed8144890b30281b71c /juick-www | |
parent | 40c195eb837a0a670bbc051b7710eb42dfcd013a (diff) |
juick-www: all (two) js files are processed with babel
Diffstat (limited to 'juick-www')
-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 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" } |