fix(vite): defer to nitro to copy public dir (#10013)

This commit is contained in:
Anthony Fu 2023-01-10 12:51:53 +01:00 committed by GitHub
parent fe35881126
commit 076b5e96a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,6 +57,7 @@ export async function bundle (nuxt: Nuxt) {
}, },
css: resolveCSSOptions(nuxt), css: resolveCSSOptions(nuxt),
build: { build: {
copyPublicDir: false,
rollupOptions: { rollupOptions: {
output: { output: {
sanitizeFileName: sanitizeFilePath, sanitizeFileName: sanitizeFilePath,