diff options
Diffstat (limited to 'juick-www/webpack.config.js')
-rw-r--r-- | juick-www/webpack.config.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/juick-www/webpack.config.js b/juick-www/webpack.config.js index 018cc812..c23524b0 100644 --- a/juick-www/webpack.config.js +++ b/juick-www/webpack.config.js @@ -22,7 +22,7 @@ module.exports = { filename: "[name].[hash].js" }, module: { - loaders: [ + rules: [ { test: /\.jsx?$/, loader: 'eslint-loader', enforce: 'pre', exclude: /node_modules/, options: { failOnWarning: false, failOnError: true }}, { test: /\.js$/, loader: 'babel-loader', query: { presets: ['env'] }}, { test: /\.css$/, loader: ExtractTextPlugin.extract({ fallback: "style-loader", use: "css-loader" }) }, @@ -38,4 +38,4 @@ module.exports = { new AssetPipelinePlugin() ], -}
\ No newline at end of file +} |