From b3d476eebb6014709eb8a27901f07d280849e38b Mon Sep 17 00:00:00 2001 From: wangyongfeng <943155336@qq.com> Date: Wed, 10 Aug 2022 08:19:07 +0800 Subject: [PATCH] [fix](ui)source map files not included in production builds (#11612) Co-authored-by: wangyf0555 --- ui/config/webpack.common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/config/webpack.common.js b/ui/config/webpack.common.js index f5a4b713df..3e5eea5619 100644 --- a/ui/config/webpack.common.js +++ b/ui/config/webpack.common.js @@ -49,7 +49,7 @@ module.exports = { filename: '[name].[hash].js', chunkFilename: '[name].[hash].js' }, - devtool: 'source-map', + devtool: 'none', resolve: { extensions: ['*', '.ts', '.tsx', 'jsx', '.js', 'json'], alias: {