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

fix(gatsby): improve import/export in gatsby-browser-entry #36484

Merged
merged 1 commit into from Aug 29, 2022

Conversation

wardpeet
Copy link
Contributor

Description

Immediatly export functions from imports if they are unused. Helps webpack with tree-shaking.

@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Aug 29, 2022
@wardpeet wardpeet added type: maintenance An issue or pull request describing a change that isn't a bug, feature or documentation change and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Aug 29, 2022
@wardpeet wardpeet force-pushed the fix/exports-gatsby-browser-entry branch from d569113 to 47f42bd Compare August 29, 2022 08:46
@wardpeet wardpeet merged commit 215ce0e into master Aug 29, 2022
@wardpeet wardpeet deleted the fix/exports-gatsby-browser-entry branch August 29, 2022 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: maintenance An issue or pull request describing a change that isn't a bug, feature or documentation change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants