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

feat(js): carry-over known build options (main, tsConfig, etc.) when running setup-build generator #18742

Merged
merged 1 commit into from
Aug 28, 2023

Conversation

jaysoo
Copy link
Member

@jaysoo jaysoo commented Aug 21, 2023

This PR allows known build options to carry-over when running the @nx/js:setup-build generator. Options are:

  • main
  • tsConfig
  • outputPath
  • additionalEntryPoints
  • generateExportsField

This helps when converting from tsc to Rollup, for example, and the shared options should remain intact.

js-setup-build.mp4

Current Behavior

Existing build options are overridden

Expected Behavior

Known build options that work between our build/bundle executors should remain.

Related Issue(s)

Fixes #

@jaysoo jaysoo requested review from FrozenPandaz, AgentEnder and a team as code owners August 21, 2023 13:03
@jaysoo jaysoo requested a review from vsavkin August 21, 2023 13:03
@vercel
Copy link

vercel bot commented Aug 21, 2023

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

Name Status Preview Comments Updated (UTC)
nx-dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 22, 2023 3:04pm

@jaysoo jaysoo merged commit 226dfaf into nrwl:master Aug 28, 2023
@jaysoo jaysoo deleted the feat/js-setup-build-enhancements branch August 28, 2023 14:36
@github-actions
Copy link

github-actions bot commented Sep 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 Sep 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.

3 participants