fix: include dev assets in local build

zio/stable
Daniel Roe 2022-12-08 14:24:36 +01:00
parent 81cf949e13
commit 9c3f32ac69
No known key found for this signature in database
GPG Key ID: 22D5008E4F5D9B55
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ export default defineNuxtConfig({
},
nitro: {
publicAssets: [
...(isDevelopment || isPreview ? [{ dir: fileURLToPath(new URL('./public-dev', import.meta.url)) }] : []),
...(!isCI || isPreview ? [{ dir: fileURLToPath(new URL('./public-dev', import.meta.url)) }] : []),
],
prerender: {
crawlLinks: false,