rstackjs / rstackjs/rstack-examples

React Compiler + TypeScript example should run compiler on `.ts` files as well as `.tsx`

Offen
#331 1 Kommentar 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@chenjiahan arbeitet bereits daran.

Seit 10.10.2025.

Vorherrschende Sprache
TypeScript
Sterne
168
Forks
47
Ø Merge
3 Std. 45 Min.
Gemergte PRs (30 T.)
11

Beschreibung

Regarding this example: https://github.com/rspack-contrib/rstack-examples/blob/main/rspack/react-compiler-babel-ts/rspack.config.js

This only runs the compiler on .tsx files, however hooks are commonly defined in .ts files, so the compiler should be applied to those as well.

cc @chenjiahan

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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