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): fix webpack compilation when pnpm is used (#38757) #38804

Merged
merged 1 commit into from
Jan 10, 2024

Conversation

gatsbybot
Copy link
Collaborator

Backporting #38757 to the 5.13 release branch

(cherry picked from commit d2ffc2a)

* fix: use different method of figuring out wether to enable .cache resolver plugin

* use multiple conditions when deciding wether to enable .cache folder resolver plugin

* feat(gatsby-dev-cli): allow using pnpm for installing deps

* test: add pnpm test

* test: test api functions for pnp and pnpm

* fix: api functions

* Update packages/gatsby/src/utils/webpack/plugins/cache-folder-resolver.ts

Co-authored-by: Katherine Beck <49894658+kathmbeck@users.noreply.github.com>

* chore: separate test loops for trying to resolve from cache folder and gatsby package, break on first unresolvable module

---------

Co-authored-by: Katherine Beck <49894658+kathmbeck@users.noreply.github.com>
(cherry picked from commit d2ffc2a)
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Jan 10, 2024
@pieh pieh removed the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Jan 10, 2024
@pieh pieh merged commit fc0eea1 into release/5.13 Jan 10, 2024
35 checks passed
@pieh pieh deleted the backport-5.13-38757 branch January 10, 2024 08:51
This was referenced May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants