删除log

This commit is contained in:
wangsongsole 2022-07-20 11:25:16 +08:00
parent d6d8178538
commit fdb54d048a
1 changed files with 3 additions and 1 deletions

View File

@ -261,7 +261,9 @@ module.exports = function (webpackEnv) {
// https://github.com/facebook/create-react-app/issues/5250 // https://github.com/facebook/create-react-app/issues/5250
// Pending further investigation: // Pending further investigation:
// https://github.com/terser-js/terser/issues/120 // https://github.com/terser-js/terser/issues/120
inline: 2 inline: 2,
drop_console: true,
drop_debugger: true
}, },
mangle: { mangle: {
safari10: true safari10: true