From 75b412bf0f24c308c0f831e0b9cfda7b3cc34d3e Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Mon, 19 Apr 2021 22:30:06 +0200 Subject: [PATCH] chore(vite): allow extending with `vite:extend` (temp until moving nuxt-vite) --- packages/vite/src/vite.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/vite/src/vite.ts b/packages/vite/src/vite.ts index 479aea9a9f..f43f138ba4 100644 --- a/packages/vite/src/vite.ts +++ b/packages/vite/src/vite.ts @@ -35,6 +35,8 @@ export async function bundle (nuxt: Nuxt) { } } + await nuxt.callHook('vite:extend', ctx) + await mkdirp(nuxt.options.buildDir) await mkdirp(resolve(nuxt.options.buildDir, '.vite/temp'))