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

Commits on Jan 10, 2024

  1. fix(gatsby): fix webpack compilation when pnpm is used (#38757)

    * 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)
    pieh committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    e68a8d1 View commit details
    Browse the repository at this point in the history