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): pass tsConfig from project when --bundle=false so the correct file is applied #16006

Merged
merged 1 commit into from
Mar 31, 2023

Conversation

jaysoo
Copy link
Member

@jaysoo jaysoo commented Mar 31, 2023

This PR fixes edge cases where the tsconfig file is not one of the "usual" ones. For example, if a React projects sets up SSR then it might have a tsconfig.server.json file.

Current Behavior

The project's tsConfig is not used.

Expected Behavior

The project's tsConfig option is passed as the config used to find files to transpile (when --bundle=false).

Related Issue(s)

Fixes #

@vercel
Copy link

vercel bot commented Mar 31, 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) Mar 31, 2023 at 2:17PM (UTC)

@nx-cloud
Copy link

nx-cloud bot commented Mar 31, 2023

☁️ Nx Cloud Report

CI is running/has finished running commands for commit efcb218. 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-expand-tsconfig-locate branch from bdfb2b3 to efcb218 Compare March 31, 2023 14:17
@FrozenPandaz FrozenPandaz merged commit 47c671c into nrwl:master Mar 31, 2023
@jaysoo jaysoo deleted the fix/esbuild-expand-tsconfig-locate branch March 31, 2023 15:21
@github-actions
Copy link

github-actions bot commented Apr 6, 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 Apr 6, 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.

3 participants