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: Move murmurhash to gatsby-core-utils #36882

Merged
merged 3 commits into from
Oct 25, 2022
Merged

fix: Move murmurhash to gatsby-core-utils #36882

merged 3 commits into from
Oct 25, 2022

Conversation

LekoArts
Copy link
Contributor

@LekoArts LekoArts commented Oct 25, 2022

Description

Moves murmurhash from babel-plugin-remove-graphql-queries to gatsby-core-utils. Because this is where this util should really live (and makes it easier to modify the babel plugin in the future).

Related Issues

[ch55257]

@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Oct 25, 2022
@LekoArts LekoArts added topic: core Relates to Gatsby's core (e.g. page loading, reporter, state machine) and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Oct 25, 2022
@LekoArts LekoArts added this to the Gatsby 5 milestone Oct 25, 2022
@@ -20,5 +20,6 @@ export { listPlugins } from "./list-plugins"
export { createFilePath } from "./filename-utils"
export { readConfigFile, getConfigPath } from "./utils"
export { lock } from "./lock"
export { murmurhash } from "./murmurhash"
Copy link
Contributor

Choose a reason for hiding this comment

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

should we export? Maybe we shouldn't have a global export casue nodejs doesn't tree-shake

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I guess this would be something for the package as a whole, not only for the murmurhash

@LekoArts LekoArts merged commit aaaa8c5 into master Oct 25, 2022
@LekoArts LekoArts deleted the move-murmurhash branch October 25, 2022 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: core Relates to Gatsby's core (e.g. page loading, reporter, state machine)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants