Commit e0fb04d6 authored by nkzawa's avatar nkzawa

clear console on each webpack build

parent 8a298174
......@@ -70,7 +70,10 @@ export default async function createCompiler (dir, { hotReload = false, dev = fa
new UnlinkFilePlugin(),
new WatchRemoveEventPlugin(),
new WatchPagesPlugin(dir),
new FriendlyErrorsWebpackPlugin()
new FriendlyErrorsWebpackPlugin({
// see https://github.com/geowarin/friendly-errors-webpack-plugin/pull/11
clearConsole: true
})
)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment