From 8e42dfa3b233dc5dc9e072b33676d6e7dd0583b0 Mon Sep 17 00:00:00 2001 From: Sabertaz Date: Sun, 5 Sep 2021 23:59:00 +0800 Subject: [PATCH] build(webpack): disable production source map --- webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 6711c1a..a4389b4 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -65,5 +65,5 @@ module.exports = { resolve: { extensions: ['.js', '.jsx'] }, - devtool: 'source-map' + devtool: devMode ? 'eval-cheap-module-source-map' : false, };