next.js
145a0c07
- fix: Fix wrong cjs detection of `auto-cjs` pass (#60118)
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
2 years ago
fix: Fix wrong cjs detection of `auto-cjs` pass (#60118) ### What? Make `auto-cjs` pass consider shadowing of `module`, so it can ignore `module.exports = foo` in nested scopes. ### Why? It's problematic for many tasks ### How? Closes PACK-2074
References
#60118 - fix: Fix wrong cjs detection of `auto-cjs` pass
Author
kdy1
Parents
5f6cd8f6
Loading