accurat / accurapp

Create JS apps with flexible build configuration, tailored for the specific needs of Accurat
MIT License
21 stars 5 forks source link

Drop console messages in production #6

Closed markov00 closed 7 years ago

markov00 commented 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

marcofugaro commented 7 years ago

già messo ;)

https://github.com/accurat/accurapp/blob/webpack-block-preset-accurapp/packages/webpack-blocks-preset-accurapp/index.js#L124

markov00 commented 7 years ago

Ups, avevo visto questo: https://github.com/accurat/accurapp/blob/webpack-block-preset-accurapp/packages/accurapp-scripts/config/webpack.config.prod.js

marcofugaro commented 7 years ago

hai ragione, il nuovo branch su cui stiamo lavorando è il v3.0.0

ora cancello quel branch.