chore(vite): allow extending with vite:extend

(temp until moving nuxt-vite)
This commit is contained in:
Pooya Parsa 2021-04-19 22:30:06 +02:00
parent 586709a82d
commit 75b412bf0f

View File

@ -35,6 +35,8 @@ export async function bundle (nuxt: Nuxt) {
} }
} }
await nuxt.callHook('vite:extend', ctx)
await mkdirp(nuxt.options.buildDir) await mkdirp(nuxt.options.buildDir)
await mkdirp(resolve(nuxt.options.buildDir, '.vite/temp')) await mkdirp(resolve(nuxt.options.buildDir, '.vite/temp'))