-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
🏗🚮 Clean up closure compiler code paths no longer used by amp dist
#37173
Conversation
Lets wait until next week when the esbuild build hits stable. In case we need to revert, deleting this code prematurely could get ugly. That said, I'm very excited about all the deletion we can do :) |
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.
Awesome cleanup! I second @samouri 's suggestion to wait until esbuild is in stable though
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.
Blocking until esbuild+terser is stable.
Looks good to me too, but agree with @jridgewell about holding off until stable. Verification question too: do we have checks for the quality of sourcemaps with this change applied? I believe we do, but just want to verify as there are MagicString removals. |
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.
New stable
is now live, built with esbuild.
Good to merge ⭐
We have |
The on-call folks noticed that sourcemaps didn't match after the esbuild version was shipped to production traffic. Perhaps there is some additional coverage needed? Might be worth syncing with @jridgewell or @rcebulko. |
@kristoferbaxter / @rsimha: the current The current issue we've noticed is that StackDriver error reports are displaying traces with |
The coast is clear to delete all the closure compilation code paths used during minification. The guts of the actual compilation still remain because they're used during type checking. They can be cleaned up after type checking moves to TS.
Related to #35264