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 db4b76b commit 7332859Copy full SHA for 7332859
packages/vue-jsx-vapor/src/raw.ts
@@ -18,6 +18,11 @@ const plugin = (options: Options = {}): UnpluginOptions[] => {
18
let needSourceMap = false
19
// options.sourceMap || false
20
return [
21
+ ...(options.macros === false
22
+ ? []
23
+ : options.macros
24
+ ? [macros(options.macros === true ? undefined : options.macros)]
25
+ : []),
26
{
27
enforce: 'pre',
28
name: 'vue-jsx-vapor',
@@ -94,11 +99,6 @@ const plugin = (options: Options = {}): UnpluginOptions[] => {
94
99
}
95
100
},
96
101
97
- ...(options.macros === false
98
- ? []
- : options.macros
- ? [macros(options.macros === true ? undefined : options.macros)]
- : []),
102
]
103
104
export default plugin
0 commit comments