Skip to content
This repository has been archived by the owner on Nov 28, 2024. It is now read-only.

Commit

Permalink
chore: drop_console
Browse files Browse the repository at this point in the history
  • Loading branch information
zerosoul committed Dec 30, 2020
1 parent 5a8b586 commit bbb66e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,8 @@ 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: isEnvProduction
},
mangle: {
safari10: true
Expand Down

0 comments on commit bbb66e1

Please sign in to comment.