From 096f0679f798988c1df3cbc1fa583b360f6742b6 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Wed, 27 Oct 2021 09:03:10 +0100 Subject: [PATCH] fix(vite): set `#build/plugins` alias to empty string (#1489) --- packages/vite/src/vite.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,