10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0295650 commit 4d28b34Copy full SHA for 4d28b34
build/config.js
@@ -96,6 +96,13 @@ const genConfig = (name) => {
96
plugins: [
97
replace({
98
delimiters: ['', ''],
99
+ // Patch devtools flush calls to use the global hook
100
+ // rather than the devtools variable
101
+ // which is undefined in most cases
102
+ // and non-reactive
103
+ 'devtools && config.devtools': 'global.__VUE_DEVTOOLS_GLOBAL_HOOK__ && config.devtools',
104
+ 'devtools.emit(\'flush\')': 'global.__VUE_DEVTOOLS_GLOBAL_HOOK__.emit(\'flush\')',
105
+
106
// Replace empty .vue file components default element to avoid crashes
107
'_c("div")': '_c("NativeContentView")'
108
}),
0 commit comments