You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See the [`Options`][link-to-options] interface and its inline documentation.
32
34
33
-
### Transform ECMAScript decorators
34
-
As of now, [`vite`][link-to-vite] uses [`esbuild`][link-to-esbuild] to transpile typescript, which doesn't yet support the new [ECMAScript decorators][link-to-ecmascript-decorators].
35
-
But [`typescript`][link-to-typescript] added support for them in [`v5`][link-to-typescript-v5-announcement].
35
+
### Warning
36
+
This plugin does not change or disable any of [`vite's`][link-to-vite] compiler/features/options. It only transpiles the code using the [`typescript`][link-to-typescript] compiler and lets [`vite`][link-to-vite] move on with the transpiled code.
36
37
37
-
This example down-levels the new ECMAScript decorators into code that is usable in runtimes that do not yet support it.
38
+
### Transform ECMAScript decorators
39
+
The new [ECMAScript decorators][link-to-ecmascript-decorators] are not supported by [`esbuild`][link-to-esbuild] (yet), but they thy are supported by [`typescript`][link-to-typescript] since `v5` ([see the announcement][link-to-typescript-v5-announcement]). This example down-levels the new decorators into code that is usable in runtimes that do not yet support it.
0 commit comments