Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
fix(nuxt): tree-shake devtools from production bundle (#6538)
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Aug 11, 2022
1 parent 21c5a75 commit b0bf25c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/nuxt/src/core/nitro.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ export async function initNitro (nuxt: Nuxt) {
},
replace: {
'process.env.NUXT_NO_SSR': nuxt.options.ssr === false,
'process.dev': nuxt.options.dev
'process.dev': nuxt.options.dev,
__VUE_PROD_DEVTOOLS__: false
},
rollupConfig: {
plugins: []
Expand Down

0 comments on commit b0bf25c

Please sign in to comment.