mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
fix(webpack): set log level to warn for HardSourcePlugin (#5653)
This commit is contained in:
parent
5ebf1cc78c
commit
ffadb3177f
@ -409,7 +409,13 @@ export default class WebpackBaseConfig {
|
||||
}))
|
||||
|
||||
if (buildOptions.hardSource) {
|
||||
plugins.push(new HardSourcePlugin(Object.assign({}, buildOptions.hardSource)))
|
||||
// https://github.com/mzgoddard/hard-source-webpack-plugin
|
||||
plugins.push(new HardSourcePlugin({
|
||||
info: {
|
||||
level: 'warn'
|
||||
},
|
||||
...buildOptions.hardSource
|
||||
}))
|
||||
}
|
||||
|
||||
return plugins
|
||||
|
Loading…
Reference in New Issue
Block a user