-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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(rollup): use .cjs file extension for config files #29196
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
☁️ Nx Cloud ReportCI is running/has finished running commands for commit 012371f. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution ✅ Successfully ran 6 targets
Sent with 💌 from NxCloud. |
packages/react/src/generators/library/lib/add-rollup-build-target.ts
Outdated
Show resolved
Hide resolved
packages/react/src/generators/library/lib/add-rollup-build-target.ts
Outdated
Show resolved
Hide resolved
dbd06ca
to
ffff293
Compare
…get.ts Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
7e328e5
to
34de59f
Compare
34de59f
to
012371f
Compare
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. |
The
rollup.config.js
file will be resolved as ESM if the closestpackage.json
hastype: 'module
. This causes an error when computing the project graph and when reading the file for builds.This PR also updates the output directory to
{projectRoot}/dist
for the new TS setup.Current Behavior
nx g @nx/react:lib --bundler=rollup
has an error due to Node resolutionExpected Behavior
nx g @nx/react:lib --bundler=rollup
works out of the boxRelated Issue(s)
Fixes #29193, #29195