Update webpack configuration to work with webpack 4

This commit is contained in:
uwap 2018-03-28 03:04:06 +02:00
parent d4432b9a39
commit 88d2457e29
5 changed files with 488 additions and 296 deletions

View file

@ -29,7 +29,7 @@ module.exports = env => merge(common, {
path.resolve(__dirname, 'src/index.jsx')],
},
module: {
loaders: [
rules: [
{ test: /\.css$/, use: extractCSS },
{ test: /\.js(x)?$/, exclude: /node_modules/, loader: "babel-loader" }
]