Open adriano-di-giovanni opened 7 years ago
+1
+1
+1
+1 (tested the change and confirmed it fixes the issue)
As an aside, is this the correct use in webpack2 ?
// add after the babel-loader rule...
{
// strip debug code
test: /\.js$/,
loader: "strip-loader?strip[]=console.log",
exclude: /node_modules/,
},
I was worried it would mess with Vue, but I assume the "exclude" makes it so this loader does not apply to the vue library files.
Given this code
no stripping occurs for the second line because there's no trailing semicolon
Please, find the
regexpPattern
that your plugin uses