Skip to content
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): cleanup compiler_snapshot and tsc/module_graph #8220

Merged
merged 3 commits into from
Nov 2, 2020

Conversation

kitsonk
Copy link
Contributor

@kitsonk kitsonk commented Nov 2, 2020

This refactors build and tsc on how they deal with "static" assets. It drops about a 1mb out of the binary size and increases performance of TypeScript type checking by about 10% on my machine, and drops out about 300 LOCs.

Also refactored tsc2 -> tsc and module_graph2 -> module_graph.

Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with a minor nitpick

cli/build.rs Outdated Show resolved Hide resolved
cli/build.rs Outdated Show resolved Hide resolved
Copy link
Member

@ry ry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice work Kitson

@kitsonk kitsonk merged commit d672e14 into denoland:master Nov 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants