From 23de491a5b28142946d1a554940178bba7ac2111 Mon Sep 17 00:00:00 2001 From: Vladimir Skorokhod Date: Tue, 13 Oct 2020 20:06:35 +0200 Subject: [PATCH] Update devtool field in webpack.config.js Configuration.devtool should match pattern "^(inline-|hidden-|eval-)?(nosources-)?(cheap-(module-)?)?source-map$". BREAKING CHANGE since webpack 5: The devtool option is more strict. --- webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 97bf2f1..539f2ea 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -131,7 +131,7 @@ module.exports = { port: 4200, hot: isDev }, - devtool: isDev ? 'source-map' : '', + devtool: isDev ? 'source-map' : false, plugins: plugins(), module: { rules: [