diff --git a/packages/vite/src/vite.ts b/packages/vite/src/vite.ts index 31e46cd413..3a4f0b9bea 100644 --- a/packages/vite/src/vite.ts +++ b/packages/vite/src/vite.ts @@ -39,7 +39,7 @@ export async function bundle (nuxt: Nuxt) { '#app': nuxt.options.appDir, // We need this resolution to be present before the following entry, but it // will be filled in client/server configs - '#build/plugins': undefined, + '#build/plugins': '', '#build': nuxt.options.buildDir, '/build': nuxt.options.buildDir, '/app': nuxt.options.appDir,