Skip to content

Commit 1857c04

Browse files
committed
chore: add comment
1 parent 035c352 commit 1857c04

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

playground/vue-jsx-ts-built-in/vite.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export default defineConfig({
1919
],
2020
}),
2121
vuePlugin(),
22-
// rolldown-vite does not support ecma decorators yet, use SWC for them
22+
// rolldown-vite does not support ecma decorators yet, use SWC to lower them
2323
// https://github.com/oxc-project/oxc/issues/9170
2424
'rolldownVersion' in vite &&
2525
vite.withFilter(
@@ -28,6 +28,7 @@ export default defineConfig({
2828
swc: {
2929
jsc: {
3030
parser: { decorators: true, decoratorsBeforeExport: true },
31+
// NOTE: SWC doesn't support '2023-11' version yet
3132
transform: { decoratorVersion: '2022-03' },
3233
},
3334
},

0 commit comments

Comments
 (0)