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 035c352 commit 1857c04Copy full SHA for 1857c04
playground/vue-jsx-ts-built-in/vite.config.js
@@ -19,7 +19,7 @@ export default defineConfig({
19
],
20
}),
21
vuePlugin(),
22
- // rolldown-vite does not support ecma decorators yet, use SWC for them
+ // rolldown-vite does not support ecma decorators yet, use SWC to lower them
23
// https://github.com/oxc-project/oxc/issues/9170
24
'rolldownVersion' in vite &&
25
vite.withFilter(
@@ -28,6 +28,7 @@ export default defineConfig({
28
swc: {
29
jsc: {
30
parser: { decorators: true, decoratorsBeforeExport: true },
31
+ // NOTE: SWC doesn't support '2023-11' version yet
32
transform: { decoratorVersion: '2022-03' },
33
},
34
0 commit comments