fix: remove redundant call to generateApp (#3426)

This commit is contained in:
Dizzy 2022-02-28 10:49:41 -04:00 committed by GitHub
parent a104f61683
commit d6102de08f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -115,7 +115,6 @@ export default defineNuxtModule<ComponentsOptions>({
nuxt.hook('app:templates', async () => {
options.components = await scanComponents(componentDirs, nuxt.options.srcDir!)
await nuxt.callHook('components:extend', options.components)
await nuxt.callHook('builder:generateApp')
})
nuxt.hook('prepare:types', ({ references }) => {