Skip to content

fix: remove swc binaries #681

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

Merged
merged 3 commits into from
Oct 8, 2021
Merged

fix: remove swc binaries #681

merged 3 commits into from
Oct 8, 2021

Conversation

ascorbic
Copy link
Contributor

@ascorbic ascorbic commented Oct 8, 2021

Next 11.1.0 added a dependency on swc that meant a >30MB binary was being bundled inside every function. The latest version of zip-it-and-ship-it allows you to exclude node modules from the bundle. This fix approximately halves the size of the bundle on the demo site.

@github-actions github-actions bot added the type: bug code to address defects in shipped code label Oct 8, 2021
@ascorbic ascorbic requested a review from a team October 8, 2021 14:21
@ascorbic ascorbic force-pushed the fix/remove-binaries branch from 043fb79 to f066c83 Compare October 8, 2021 14:30
@ascorbic ascorbic merged commit 8244f28 into main Oct 8, 2021
@ascorbic ascorbic deleted the fix/remove-binaries branch October 8, 2021 14:49
@ricbartm
Copy link

folks, can I get notified when this is live and users get it automatically in their builds? I'd like to keep an extra eye as soon as we can see its effects

@ascorbic
Copy link
Contributor Author

@ricbartm Will do. I'll get the PR open tomorrow AM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge type: bug code to address defects in shipped code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants