-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Webpack: Support .cjs extension #18502
Conversation
☁️ Nx Cloud ReportCI is running/has finished running commands for commit 37cd0c2. 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 targetSent with 💌 from NxCloud. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I fear changing the order of these resolve configs will be a problem for other users...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks so much for doing this @ddalpange !!!
Issue: N/A
What I did
I can't resolve my package that was made as commonjs .
I added to
.cjs
extension inwebpack rule -> test
How to test
If your answer is yes to any of these, please make sure to include it in your PR.