JayeshLab / demo-vue-console-log-removal

0 stars 0 forks source link

demo-vue-console-log-removal

This demo is to show the use of terser-webpack-plugin in vue project to remove console.log() and comments from production build. If productionSourceMap is set to true, you can view the source code with console.log and comments, but compile code does not have it. nothing is printed on console on production build.

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.