babel-plugin-transform-remove-console
babel-plugin-transform-remove-console copied to clipboard
Add extra options
开发过程中遇到保留部分文件的console的开发需求,是否可以部分文件去除console
Dude i have tried it out just like in the example and it just filters all my console.statements: ``` console.log('TEST LOG'); console.error('TEST ERROR'); ``` Here is the part of the...
for some situations need to be preserved 'console', When ‘// remove--console-disable’ is above 'console' 'console' Will be retained
see https://github.com/babel/minify/pull/661