From f99498caada9704c7650d3b5e3dac294ecdfcb27 Mon Sep 17 00:00:00 2001 From: Billy Zhou Date: Wed, 14 Aug 2024 12:23:27 -0700 Subject: [PATCH] revert: hide source map from devtools in productions --- webpack/webpack.prod.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack/webpack.prod.js b/webpack/webpack.prod.js index 28aaff6e..b476add4 100644 --- a/webpack/webpack.prod.js +++ b/webpack/webpack.prod.js @@ -5,7 +5,7 @@ const TerserPlugin = require('terser-webpack-plugin'); module.exports = merge(common, { mode: 'production', - devtool: 'source-map', + devtool: 'hidden-source-map', optimization: { minimizer: [ new TerserPlugin({