Support TC39 decorators (TS 5, esbuild 0.21, Vite 5.3)

Offen
#430 20 Kommentare 1 Reaktion 1 zugewiesene Person Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

@ArnaudBarre arbeitet bereits daran.

Seit 12.4.2023.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

breaking change plugin: react-swc

Update: Support for TC39 decorators has been shipped in esbuild 0.21, included in Vite 5.3.
SWC support is still not fully there, see https://github.com/swc-project/swc/pull/9488

As the goal of this plugin was since the beginning to enforce good practice and be transpiler agnostic (OXC is coming 👀), I'm still waiting before adding support to the plugin.

In the meantime, you can easily patch the library if you want to opt-in into the use of an unstable feature

Vorherrschende Sprache
TypeScript
Sterne
1.2k
Forks
287
Ø Merge
1 T. 17 Std.
Gemergte PRs (30 T.)
19

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus vitejs/vite-plugin-react

Alle Issues in vitejs/vite-plugin-react

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.