Replies: 1 comment 4 replies
-
Note that this will make compilation much slower. This is cc to hear opinions about the compile time. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I can make EcmaScript AST generic, but it has pros and cons.
It will make, e.g. migrating built tools for Vue or Svelte to Rust much easier, but it requires a decent amount of work, and it will make compilation slower.
So I want to know if there's a team that wants to do that.
Idea
API will look similar to
Stylesheet
oflightningcss
, but with much more complexity.Pros
Reduced binary size & Improved performance of core transforms
We can extract TypeScript nodes as extensions, and it will make all other visitors faster and smaller.
Cons
Compile time
Beta Was this translation helpful? Give feedback.
All reactions