Update webpack.config.js
This fixes broken dev builds introduced by 11d53f1
.
See: https://github.com/webpack/webpack-dev-server/blob/master/migration-v4.md
This commit is contained in:
parent
68473321f8
commit
42ea4545ee
@ -14,7 +14,9 @@ module.exports = {
|
|||||||
path: path.resolve(__dirname, 'build'),
|
path: path.resolve(__dirname, 'build'),
|
||||||
},
|
},
|
||||||
devServer: {
|
devServer: {
|
||||||
contentBase: path.resolve(__dirname, 'build')
|
static: {
|
||||||
|
directory: path.resolve(__dirname, 'build')
|
||||||
|
},
|
||||||
},
|
},
|
||||||
devtool: 'source-map',
|
devtool: 'source-map',
|
||||||
plugins: [
|
plugins: [
|
||||||
|
Loading…
Reference in New Issue
Block a user