fix(nuxt) : add default value for nitro.rollupConfig.plugins (#4830)

This commit is contained in:
Julien Huang 2022-05-06 10:33:56 +02:00 committed by GitHub
parent 2cc336d3a3
commit 6b1671181e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,6 +88,9 @@ export async function initNitro (nuxt: Nuxt) {
},
replace: {
'process.env.NUXT_NO_SSR': nuxt.options.ssr === false ? true : undefined
},
rollupConfig: {
plugins: []
}
})