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

Implement flag to specify package.json exports conditions #4370

Closed
xhyrom opened this issue Aug 27, 2023 · 1 comment
Closed

Implement flag to specify package.json exports conditions #4370

xhyrom opened this issue Aug 27, 2023 · 1 comment
Labels
cli Something to do with CLI arguments enhancement New feature or request

Comments

@xhyrom
Copy link
Collaborator

xhyrom commented Aug 27, 2023

What is the problem this feature would solve?

Different exports for production, development

What is the feature you are proposing to solve the problem?

https://nodejs.org/api/cli.html#-c-condition---conditionscondition

What alternatives have you considered?

No response

@xhyrom xhyrom added the enhancement New feature or request label Aug 27, 2023
@Jarred-Sumner Jarred-Sumner changed the title Implement conditional exports Implement flag to specify package.json exports conditions Aug 28, 2023
@Electroid Electroid added the cli Something to do with CLI arguments label Oct 27, 2023
@RiskyMH
Copy link
Contributor

RiskyMH commented Oct 10, 2024

Implemented in #9106 and released in bun v1.0.30

@RiskyMH RiskyMH closed this as completed Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Something to do with CLI arguments enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants