-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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-source-contentful): add locale filter #12939
Conversation
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.
The idea make sense LGTM
Is it possible to instruct |
I think I just answered my own question when checking https://www.contentful.com/developers/docs/concepts/sync/
|
@pieh that was my initial though as well but as shown in the link that you posted it's not really the idea of the |
Looking good now, gotta check it out in practice before merging |
@pieh nice 👍 |
Hello @pieh, just checking if there's anything I can do to help get this approved and merged :) |
Thanks @stoltzrobin, @Khaledgarbaya and @thibautRe for help with getting it merge-ready! |
Description
This allows the user to filter out locales that are not needed for the build. For example, if the space in Contentful is rather large with very many locales the javascript memory easiely runs out of memory.
Related Issues
#12938