Update webpack configuration to work with webpack 4
This commit is contained in:
parent
d4432b9a39
commit
88d2457e29
5 changed files with 488 additions and 296 deletions
|
|
@ -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" }
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue