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): fix esbuild to work with ts project references #30230

Merged
merged 3 commits into from
Mar 5, 2025

Conversation

ndcunningham
Copy link
Contributor

Current Behavior

If we are using esbuild as our bundler and ts project references (--workspaces) local libraries are not building are not resolved in the build artifacts.

Expected Behavior

When using ts project references with esbuild all types libraries (buildable / non-buildable) should work out of the box.

Related Issue(s)

Fixes #

@ndcunningham ndcunningham added the scope: bundlers Issues related to webpack, rollup label Feb 28, 2025
@ndcunningham ndcunningham self-assigned this Feb 28, 2025
@ndcunningham ndcunningham requested a review from a team as a code owner February 28, 2025 16:30
Copy link

nx-cloud bot commented Feb 28, 2025

View your CI Pipeline Execution ↗ for commit 0441df8.

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-c... ✅ Succeeded 40m 5s View ↗
nx run-many -t check-imports check-commit check... ✅ Succeeded 16s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 2s View ↗
nx-cloud record -- nx format:check --base=00e97... ✅ Succeeded 2s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded 1s View ↗
nx documentation ✅ Succeeded 1m 35s View ↗

☁️ Nx Cloud last updated this comment at 2025-03-05 19:23:37 UTC

@ndcunningham ndcunningham requested a review from a team as a code owner March 3, 2025 21:34
@ndcunningham ndcunningham requested a review from jaysoo March 3, 2025 21:34
Copy link

vercel bot commented Mar 3, 2025

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 Mar 5, 2025 6:40pm

@ndcunningham ndcunningham force-pushed the fix/esbuild-ts-references branch from c00e38c to 000b9c8 Compare March 3, 2025 22:01
@ndcunningham ndcunningham force-pushed the fix/esbuild-ts-references branch from 000b9c8 to ee571f4 Compare March 4, 2025 03:49
@ndcunningham ndcunningham force-pushed the fix/esbuild-ts-references branch from ee571f4 to 6c3c8f8 Compare March 4, 2025 14:58
@ndcunningham ndcunningham force-pushed the fix/esbuild-ts-references branch from 6c3c8f8 to 75778aa Compare March 4, 2025 19:45
@ndcunningham ndcunningham requested a review from a team as a code owner March 4, 2025 19:45
@ndcunningham ndcunningham requested a review from mandarini March 4, 2025 19:45
@ndcunningham ndcunningham force-pushed the fix/esbuild-ts-references branch from 75778aa to 0441df8 Compare March 5, 2025 18:37
@ndcunningham ndcunningham merged commit 7da48d6 into master Mar 5, 2025
12 checks passed
@ndcunningham ndcunningham deleted the fix/esbuild-ts-references branch March 5, 2025 20:49
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 Mar 11, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
scope: bundlers Issues related to webpack, rollup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants