Closed markov00 closed 7 years ago
What if we use drop_console option on uglifyjs to remove unwanted console logs in production? https://github.com/mishoo/UglifyJS2#compressor-options
drop_console
già messo ;)
https://github.com/accurat/accurapp/blob/webpack-block-preset-accurapp/packages/webpack-blocks-preset-accurapp/index.js#L124
Ups, avevo visto questo: https://github.com/accurat/accurapp/blob/webpack-block-preset-accurapp/packages/accurapp-scripts/config/webpack.config.prod.js
hai ragione, il nuovo branch su cui stiamo lavorando è il v3.0.0
ora cancello quel branch.
What if we use
drop_console
option on uglifyjs to remove unwanted console logs in production? https://github.com/mishoo/UglifyJS2#compressor-options