-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(cli): migrate runtime compile/bundle to new infrastructure #8192
Conversation
glad to see cli/module_graph.rs go! can cli/tsc.rs be removed too? |
Oops. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work @kitsonk 🚀 I have only a handful of low-impact comments. Can't wait to land this one!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
c2e4f47
to
16a6dfb
Compare
Fixes #8060
Couple notes:
99_compiler.js
./foo.ts
it will return withfile:///foo.ts.js
andfile:///foo.ts.js.map
. This makes it a lot easier to deal with everything internally. Users can provide sources with any URI that was as well. It should also make it easier to feed externally gathered sources to the APIs.types
was strange to begin with for the compiler APIs and I think we need revisit supporting that all together anyways.