Skip to content

Commit e0fb04d

Browse files
committed
clear console on each webpack build
1 parent 8a29817 commit e0fb04d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

server/build/webpack.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,10 @@ export default async function createCompiler (dir, { hotReload = false, dev = fa
7070
new UnlinkFilePlugin(),
7171
new WatchRemoveEventPlugin(),
7272
new WatchPagesPlugin(dir),
73-
new FriendlyErrorsWebpackPlugin()
73+
new FriendlyErrorsWebpackPlugin({
74+
// see https://github.com/geowarin/friendly-errors-webpack-plugin/pull/11
75+
clearConsole: true
76+
})
7477
)
7578
}
7679

0 commit comments

Comments
 (0)