Skip to content

[Feature Request] bun plugin #140

@philmillman

Description

@philmillman

Description

Because bun relies on NODE_ENV to load certain env files (see: https://bun.sh/guides/runtime/set-env) it has unintended effects when you use envFlag in certain situations (see: #139)

Motivation

We need envFlag to work predictably no matter the runtime environment.

Proposed Solution

Create a bun plugin https://bun.sh/docs/bundler/plugins the ensures NODE_ENV is not overriding any intended behaviour.

Alternatives

custom logic + manual NODE_ENV overrides

Additional Information

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions