From fdb54d048a72f231f21d38678da3243e9363f54f Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Wed, 20 Jul 2022 11:25:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4log?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/webpack.config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/webpack.config.js b/config/webpack.config.js index 9b61a421..92d3e5c3 100644 --- a/config/webpack.config.js +++ b/config/webpack.config.js @@ -261,7 +261,9 @@ module.exports = function (webpackEnv) { // https://github.com/facebook/create-react-app/issues/5250 // Pending further investigation: // https://github.com/terser-js/terser/issues/120 - inline: 2 + inline: 2, + drop_console: true, + drop_debugger: true }, mangle: { safari10: true