Open gcorgnet opened 8 years ago
Using the configuration
{test: /.js$/, loader: 'strip-loader?strip[]=console.log'}
For the below code snippet in the file, leads to no stripping
console.log(JSON.stringify(someObject));
Error
The console.log statement is not stipped off
This is biting me right now as well as I call the Immutable.js .toJS() on objects in quite a few of my log statements.
Using the configuration
{test: /.js$/, loader: 'strip-loader?strip[]=console.log'}
For the below code snippet in the file, leads to no stripping
Error
The console.log statement is not stipped off