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(node): build-esbuild-options.ts browser user define envs by config #27480

Merged
merged 1 commit into from
Aug 16, 2024

Conversation

coolassassin
Copy link
Contributor

Current Behavior

When you use esbuild in 'browser' mode you have to provide all 'define' attributes as environment variables and only with "NX_PUBLIC_" prefix

Expected Behavior

Esbuild configuration has to work as it is described in docs. And prefix feature has to work as an additional functionality

Related Issue(s)

This issue will be fixed: #19106

@coolassassin coolassassin requested a review from a team as a code owner August 16, 2024 14:14
Copy link

vercel bot commented Aug 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Aug 16, 2024 3:35pm

@jaysoo jaysoo merged commit 4941be6 into nrwl:master Aug 16, 2024
6 checks passed
FrozenPandaz pushed a commit that referenced this pull request Aug 19, 2024
#27480)

## Current Behavior
When you use esbuild in 'browser' mode you have to provide all 'define'
attributes as environment variables and only with "NX_PUBLIC_" prefix

## Expected Behavior
Esbuild configuration has to work as it is described in docs. And prefix
feature has to work as an additional functionality

## Related Issue(s)
This issue will be fixed: #19106

Co-authored-by: Dmitrii Kamenskikh <dkamenskikh@devexperts.com>
(cherry picked from commit 4941be6)
Copy link

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

@nx/esbuild:esbuild - allow define property to accept custom values
2 participants