mirror of
https://github.com/nuxt/nuxt.git
synced 2025-03-09 03:03:18 +00:00
fix(nuxt): tree-shake devtools from production bundle (#6538)
This commit is contained in:
parent
21c5a7579e
commit
b0bf25cf51
@ -92,7 +92,8 @@ export async function initNitro (nuxt: Nuxt) {
|
|||||||
},
|
},
|
||||||
replace: {
|
replace: {
|
||||||
'process.env.NUXT_NO_SSR': nuxt.options.ssr === false,
|
'process.env.NUXT_NO_SSR': nuxt.options.ssr === false,
|
||||||
'process.dev': nuxt.options.dev
|
'process.dev': nuxt.options.dev,
|
||||||
|
__VUE_PROD_DEVTOOLS__: false
|
||||||
},
|
},
|
||||||
rollupConfig: {
|
rollupConfig: {
|
||||||
plugins: []
|
plugins: []
|
||||||
|
Loading…
Reference in New Issue
Block a user