mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +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
|
// Close function
|
||||||
const close = () => {
|
const close = () => {
|
||||||
// In analyze mode wait for plugin opening the browser
|
// In analyze mode wait for plugin
|
||||||
if (options.build.analyze === true && !(options.ci || options.test)) {
|
// emitting assets and opening browser
|
||||||
|
if (options.build.analyze === true) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user