fix: include dev assets in local build

This commit is contained in:
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

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,