ini
ini copied to clipboard
[BUG] Library forces CommonJS
Is there an existing issue for this?
- [x] I have searched the existing issues
Current Behavior
I use to-level await in one of my projects. After installing this library typescript stops considering the "module" parameter in package.json and considers the whole project as CommonJS.
Expected Behavior
Should not affect top-level code
Steps To Reproduce
- In this environment...
- With this config...
- Run '...'
- See error...
Environment
- npm:
- Node:
- OS:
- platform:
Since no responses here, if you are stuck, here's a simple TypeScript substitute ;)