From a5692d52a959e86ef3752f854defeb59833c484f Mon Sep 17 00:00:00 2001 From: dmitrizzle Date: Wed, 14 Feb 2018 17:24:10 +0700 Subject: [PATCH] Fixed console 404s in dev mode Added `devtool: 'inline-source-map'` which seems to have fixed annoying console error messages in WebPack Dev Server mode. --- ENV.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ENV.md b/ENV.md index 09bf79c..b6fff29 100644 --- a/ENV.md +++ b/ENV.md @@ -23,7 +23,8 @@ module.exports = { }, devServer: { port: 3000 - } + }, + devtool: 'inline-source-map' }; ``` 4. Create `index.html` inside the root of your project directory: