-
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
[gatsby-source-contentful] downloadLocal not working #18483
Comments
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 30 days of inactivity. It’s been at least 20 days since the last update here. If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not stale" to keep this issue open! As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out gatsby.dev/contribute for more information about opening PRs, triaging issues, and contributing! Thanks for being a part of the Gatsby community! 💪💜 |
To add: I get the following logged when setting
|
Hey again! It’s been 30 days since anything happened on this issue, so our friendly neighborhood robot (that’s me!) is going to close it. Please keep in mind that I’m only a robot, so if I’ve closed this issue in error, I’m As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out gatsby.dev/contribute for more information about opening PRs, triaging issues, and contributing! Thanks again for being part of the Gatsby community! |
I ran into this issue today with node It's an issue with a dependency in |
Description
In our company, we have built a web site using Gatsby and Contentful. Our CI has been experiencing perfromance issues with the build time. Running a build in Production is taking around 1.5 - 2 hours to complete (yes, it's a large website). Debugging the build process, I noticed that the Contentful assets were being downloaded despite the downloadLocal option was being set as "false".
Taking a look at the gatsby-source-contentful source code, I noticed that the downloadLocal option is not being validated correctly, the get method from the publishConfig object is returning a string value thus the following condition will always be true. This is even ignoring the default value of the downloadLocal option.
gatsby-node.js (Line 225)
Steps to reproduce
Test
Expected result
Actual result
Setting downloadLocal as false is still downloading contentful assets in the local folder impacting our build times.
Environment
Run
gatsby info --clipboard
in your project directory and paste the output here.The text was updated successfully, but these errors were encountered: