mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-29 17:07:22 +00:00
* fix(vite): prod build hang, close #336 * chore: update
This commit is contained in:
parent
928d10ab77
commit
a01dd69fcc
@ -25,6 +25,10 @@ export async function build (nuxt: Nuxt) {
|
|||||||
|
|
||||||
await bundle(nuxt)
|
await bundle(nuxt)
|
||||||
await nuxt.callHook('build:done', { nuxt })
|
await nuxt.callHook('build:done', { nuxt })
|
||||||
|
|
||||||
|
if (!nuxt.options.dev) {
|
||||||
|
await nuxt.callHook('close', nuxt)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function watch (nuxt: Nuxt) {
|
function watch (nuxt: Nuxt) {
|
||||||
|
Loading…
Reference in New Issue
Block a user