mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-06 13:03:11 +00:00
fix(nuxt-build): always wait for analyze plugin when enabled
This commit is contained in:
parent
8ed2b60707
commit
5ee9ed459b
@ -60,8 +60,9 @@ nuxt.hook('error', (_err, from) => Utils.fatalError(_err, from))
|
||||
|
||||
// Close function
|
||||
const close = () => {
|
||||
// In analyze mode wait for plugin opening the browser
|
||||
if (options.build.analyze === true && !(options.ci || options.test)) {
|
||||
// In analyze mode wait for plugin
|
||||
// emitting assets and opening browser
|
||||
if (options.build.analyze === true) {
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user