ionic-team / ionic-team/capacitor-os-inappbrowser
CJS import broken due to type field in package.json
Open
- Dominant language
- TypeScript
- Stars
- 13
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
Dear Ionic Team,
Currently, it's not possible to import the project via CommonJS in a Typescript environment, as the `type: "module"` declaration in the `package.json` breaks the dual environments export. When `type: "module"` is set all import statements of .js files are treated as ES modules.
To fix this bug, the `type: "module"` declaration needs to be removed.
Contributor guide
Assessment
This issue has not been assessed yet.