next.js
145a0c07 - fix: Fix wrong cjs detection of `auto-cjs` pass (#60118)

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
Author
Parents
Loading