Skip to content

Commit

Permalink
Close #70. Don't clearConsole on build
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredpalmer committed Aug 6, 2017
1 parent c02822b commit 6d55bc6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/backpack-core/config/webpack.config.js
Expand Up @@ -126,7 +126,9 @@ module.exports = (options) => {
}),
// The FriendlyErrorsWebpackPlugin (when combined with source-maps)
// gives Backpack its human-readable error messages.
new FriendlyErrorsWebpackPlugin(),
new FriendlyErrorsWebpackPlugin({
clearConsole: options.env === 'development' || process.env.VERBOSE
}),
// The NoEmitOnErrorsPlugin plugin prevents Webpack
// from printing out compile time stats to the console.
new webpack.NoEmitOnErrorsPlugin()
Expand Down

0 comments on commit 6d55bc6

Please sign in to comment.