fix(nuxt3): add missing build:before hook (#1139)

This commit is contained in:
Pascal Martineau 2021-10-18 04:00:23 -04:00 committed by GitHub
parent 39ed77e229
commit f4011d0b02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,6 +23,7 @@ export async function build (nuxt: Nuxt) {
nuxt.hook('builder:generateApp', () => generateApp(nuxt, app))
}
await nuxt.callHook('build:before', { nuxt })
await bundle(nuxt)
await nuxt.callHook('build:done', { nuxt })