diff --git a/packages/vite/src/vite.ts b/packages/vite/src/vite.ts index 8c7a973d1b..37a9ad512c 100644 --- a/packages/vite/src/vite.ts +++ b/packages/vite/src/vite.ts @@ -36,6 +36,7 @@ export async function bundle (nuxt: Nuxt) { alias: { ...nuxt.options.alias, '#app': nuxt.options.appDir, + '#build': nuxt.options.buildDir, '/__app': nuxt.options.appDir, '/__build': nuxt.options.buildDir, '~': nuxt.options.srcDir,