mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-18 17:35:57 +00:00
fix(nuxt): replace process.dev
in nitro bundle (#5852)
This commit is contained in:
parent
46c48de98e
commit
135dfdf73b
@ -94,7 +94,8 @@ export async function initNitro (nuxt: Nuxt) {
|
||||
...nuxt.options.alias
|
||||
},
|
||||
replace: {
|
||||
'process.env.NUXT_NO_SSR': nuxt.options.ssr === false
|
||||
'process.env.NUXT_NO_SSR': nuxt.options.ssr === false,
|
||||
'process.dev': nuxt.options.dev
|
||||
},
|
||||
rollupConfig: {
|
||||
plugins: []
|
||||
|
Loading…
Reference in New Issue
Block a user