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(bundling): combine user-defined external esbuild options with ours #14755

Merged

Conversation

jaysoo
Copy link
Member

@jaysoo jaysoo commented Feb 1, 2023

If users define their own 'esbuildOptions.external`, Nx should combine that with its own.

Notes

  • If bundle: false then external should be set to undefined, otherwise esbuild will error.

@vercel
Copy link

vercel bot commented Feb 1, 2023

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

1 Ignored Deployment
Name Status Preview Comments Updated
nx-dev ⬜️ Ignored (Inspect) Feb 1, 2023 at 7:29PM (UTC)

@jaysoo jaysoo force-pushed the fix/esbuild-respect-custom-external-config branch 2 times, most recently from 99cd30f to 4f6b16f Compare February 1, 2023 18:49
@nx-cloud
Copy link

nx-cloud bot commented Feb 1, 2023

☁️ Nx Cloud Report

CI is running/has finished running commands for commit c0834c7. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch


✅ Successfully ran 1 target

Sent with 💌 from NxCloud.

@jaysoo jaysoo force-pushed the fix/esbuild-respect-custom-external-config branch from 4f6b16f to d7d5c25 Compare February 1, 2023 19:25
@jaysoo jaysoo force-pushed the fix/esbuild-respect-custom-external-config branch from d7d5c25 to c0834c7 Compare February 1, 2023 19:29
@@ -0,0 +1,5 @@
{
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just for unit test

@jaysoo jaysoo enabled auto-merge (squash) February 1, 2023 19:50
Copy link
Contributor

@ndcunningham ndcunningham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jaysoo jaysoo merged commit 2f4f0f0 into nrwl:master Feb 1, 2023
@jaysoo jaysoo deleted the fix/esbuild-respect-custom-external-config branch February 2, 2023 13:04
@github-actions
Copy link

github-actions bot commented Mar 3, 2023

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 Mar 3, 2023
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.

None yet

2 participants