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

apply production contraint to traced package.json files #844

Closed
pi0 opened this issue Jan 16, 2023 · 0 comments · Fixed by #867
Closed

apply production contraint to traced package.json files #844

pi0 opened this issue Jan 16, 2023 · 0 comments · Fixed by #867

Comments

@pi0
Copy link
Member

pi0 commented Jan 16, 2023

We trace and extract package files with production condition however node, does not apply it by default without passing -C production flag and we cannot always pass a node.js flag.

When extracting packages, we shall apply it to exports that production is picked by default.

More context: #605 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant