Skip to content

Commit

Permalink
Avoid stripping logger.*
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Scarrott committed Oct 22, 2016
1 parent ad56a81 commit f9e086d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/build/generateConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@ function getLoaders(options) {
];

if (options.optimize) {
// Strip out all `logger` and `console` statements.
// Strip out all `console` statements.
loaders.push({
test: /\.js$/,
loader: 'strip-loader?strip[]=logger.*&strip[]=console.*'
loader: 'strip-loader?strip[]=console.*'
});
}

Expand Down

0 comments on commit f9e086d

Please sign in to comment.