`plugin-transform-modules-commonjs` docs do not mention that `import`s transformed into `require`s are hoisted
Open
- Dominant language
- TypeScript
- Stars
- 777
- Forks
- 1.4k
- Avg merge
- 16h 45m
- Merged PRs (30d)
- 3
Description
I just ran into this in setting up a testing environment with some older code that relies on globals as the plugin is recommended by the Jest documentation.
I know that this aligns with the spec but it might be nice to have a warning message.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.