-
-
Notifications
You must be signed in to change notification settings - Fork 1.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
[core] Fix Netlify build cache issue #14182
Conversation
Deploy preview: https://deploy-preview-14182--material-ui-x.netlify.app/ |
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.
LGTM. 👏
Thank you for all the effort on this matter! 🙏 💯
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.
🎉
Just for the record - Core needs this as it uses Netlify functions. |
@michaldudak Hmm, I'm not sure using Netlify functions justifies the need for this flag, it seems to be required only when using Next.js/Nuxt + pnpm.
|
And to add salt to the injury—Core also had the same Netlify problems at the same time (not sure if it is still present on old PRs—probably is/would be). 🤔 |
When I was migrating the Core repo to pnpm, I had issues with functions that were unable to find transitive dependencies. |
But now there are no transitive dependencies needed by functions AFAIK. |
If it works, I've got no objections to remove this flag :) |
Closes #14104
Netlify docs say the
--shamefully-hoist
flag is required for Next.js + pnpm setup, but as pointed out by @Janpot this guide doesn't apply to us since we build+export and just host a static site.