rstackjs / rstackjs/rstack-examples
React Compiler + TypeScript example should run compiler on `.ts` files as well as `.tsx`
Offen
@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
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.