Skip to content

Commit

Permalink
feat(bundler-vite): enable vue prod devtools in debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorlxy committed May 26, 2022
1 parent 4acc725 commit 39fe57b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -17,7 +17,7 @@ export const resolveDefine = async ({
// @see http://link.vuejs.org/feature-flags
// enable options API by default
__VUE_OPTIONS_API__: JSON.stringify(true),
__VUE_PROD_DEVTOOLS__: JSON.stringify(false),
__VUE_PROD_DEVTOOLS__: JSON.stringify(app.env.isDebug),
}

// override vite built-in define config in debug mode
Expand Down

0 comments on commit 39fe57b

Please sign in to comment.