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 optimizing deps for PNPM #2172

Merged
merged 2 commits into from
May 30, 2024
Merged

Fix optimizing deps for PNPM #2172

merged 2 commits into from
May 30, 2024

Conversation

frandiox
Copy link
Contributor

PNPM doesn't hoist some subdependencies so Vite can't optimize them properly. With this PR, we tell Vite to optimize direct dependencies instead so that it can always find them even with PNPM.

Copy link
Contributor

shopify bot commented May 30, 2024

Oxygen deployed a preview of your fd-fix-optimize-deps branch. Details:

Storefront Status Preview link Deployment details Last update (UTC)
optimistic-cart-ui ✅ Successful (Logs) Preview deployment Inspect deployment May 30, 202410:21 AM
Skeleton (skeleton.hydrogen.shop) ✅ Successful (Logs) Preview deployment Inspect deployment May 30, 202410:21 AM
third-party-queries-caching ✅ Successful (Logs) Preview deployment Inspect deployment May 30, 202410:21 AM
custom-cart-method ✅ Successful (Logs) Preview deployment Inspect deployment May 30, 202410:21 AM
vite ✅ Successful (Logs) Preview deployment Inspect deployment May 30, 202410:21 AM
subscriptions ✅ Successful (Logs) Preview deployment Inspect deployment May 30, 202410:21 AM

Learn more about Hydrogen's GitHub integration.

@frandiox frandiox merged commit ca7f288 into main May 30, 2024
13 checks passed
@frandiox frandiox deleted the fd-fix-optimize-deps branch May 30, 2024 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants