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

feat(gatsby): remove unused exports from query-engine #33484

Merged
merged 5 commits into from
Dec 19, 2021

Conversation

wardpeet
Copy link
Contributor

@wardpeet wardpeet commented Oct 10, 2021

Description

Removes all lifecycles except the ones we care about for queryEngine.

Drops from 45mb to 37,8mb for .com. Speed wise it was more or less these same as before. A few seconds got shaved.

@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Oct 10, 2021
@wardpeet wardpeet changed the title tmp/treeshake query engine feat(gatsby): remove unused exports from query-engine Oct 10, 2021
@wardpeet wardpeet marked this pull request as draft October 10, 2021 20:41
@wardpeet wardpeet added gatsby 4 and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Oct 10, 2021
@wardpeet wardpeet changed the base branch from master to remove/unused-exports-remove-api October 10, 2021 20:41
Base automatically changed from remove/unused-exports-remove-api to master October 12, 2021 12:41
@wardpeet wardpeet marked this pull request as ready for review October 12, 2021 18:48
@wardpeet wardpeet merged commit ccf70da into master Dec 19, 2021
@wardpeet wardpeet deleted the tmp/treeshake-query-engine branch December 19, 2021 14:16
pragmaticpat pushed a commit to pragmaticpat/gatsby that referenced this pull request Apr 28, 2022
Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>
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.

2 participants