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 4185e42 commit 98dd753Copy full SHA for 98dd753
packages/plugin-vue-jsx/src/index.ts
@@ -89,11 +89,12 @@ function vueJsxPlugin(options: Options = {}): Plugin {
89
config.define?.__VUE_PROD_HYDRATION_MISMATCH_DETAILS__,
90
) ?? false,
91
},
92
- optimizeDeps: this.meta.rolldownVersion
93
- ? {
94
- rolldownOptions: { transform: { jsx: 'preserve' } },
95
- }
96
- : {},
+ optimizeDeps:
+ this && 'rolldownVersion' in this.meta
+ ? {
+ rolldownOptions: { transform: { jsx: 'preserve' } },
+ }
97
+ : {},
98
}
99
100
0 commit comments