-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
We could leverage a combination of SWC plugins https://swc.rs/docs/usage/plugins and the LanguageService API to enable direct compilation with SWC.
PROS:
- maybe speed improvements, typescript would only need to type-check and provides its context to the plugin
- smooth integration with next.js out of the box
- vite integration via rollup plugins https://github.com/egoist/unplugin-swc
CONS:
- maybe problematic to keep consistency between files in the language services and files in swc, ideally a plugin would call some kind of
processCallExpressionAtLocationetc
NickSeagull
Metadata
Metadata
Assignees
Labels
No labels