mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
clear console on each webpack build
This commit is contained in:
parent
8a2981746b
commit
e0fb04d685
|
@ -70,7 +70,10 @@ export default async function createCompiler (dir, { hotReload = false, dev = fa
|
||||||
new UnlinkFilePlugin(),
|
new UnlinkFilePlugin(),
|
||||||
new WatchRemoveEventPlugin(),
|
new WatchRemoveEventPlugin(),
|
||||||
new WatchPagesPlugin(dir),
|
new WatchPagesPlugin(dir),
|
||||||
new FriendlyErrorsWebpackPlugin()
|
new FriendlyErrorsWebpackPlugin({
|
||||||
|
// see https://github.com/geowarin/friendly-errors-webpack-plugin/pull/11
|
||||||
|
clearConsole: true
|
||||||
|
})
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue