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
master
Justin Tracey 3 years ago committed by GitHub
parent 68473321f8
commit 42ea4545ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      webpack.config.js

@ -14,7 +14,9 @@ module.exports = {
path: path.resolve(__dirname, 'build'),
},
devServer: {
contentBase: path.resolve(__dirname, 'build')
static: {
directory: path.resolve(__dirname, 'build')
},
},
devtool: 'source-map',
plugins: [

Loading…
Cancel
Save