MichalLytek / MichalLytek/typegraphql-prisma
Support for ESM modules
Open
enhancement
- Dominant language
- TypeScript
- Stars
- 918
- Forks
- 130
- PR merge metrics
- No merged PRs in 30d
Description
While the generator binary can still use CJS, it should be possible to setup generator to emit consumable ESM module including the generated types and resolvers.
The scope of the changes:
- change compile target in tsconfig.json
- use `.js` extension in imports
- proper package.json with correctly defined `types` and `main`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.