From 076b5e96a5e4bada7dc2488ff28b42bf1b9060c3 Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Tue, 10 Jan 2023 12:51:53 +0100 Subject: [PATCH] fix(vite): defer to nitro to copy public dir (#10013) --- packages/vite/src/vite.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/vite/src/vite.ts b/packages/vite/src/vite.ts index 73d6a9fde3..ef786d661e 100644 --- a/packages/vite/src/vite.ts +++ b/packages/vite/src/vite.ts @@ -57,6 +57,7 @@ export async function bundle (nuxt: Nuxt) { }, css: resolveCSSOptions(nuxt), build: { + copyPublicDir: false, rollupOptions: { output: { sanitizeFileName: sanitizeFilePath,