api-platform / api-doc-parser

Transforms a Hydra API doc in an intermediate representation that can be used for various tasks such as creating smart API clients, scaffolding code or building administration interfaces.
MIT License
104 stars 71 forks source link

fix: build only esm #122

Closed alanpoulain closed 2 years ago

alanpoulain commented 2 years ago

Since jsonref is already ESM only and more and more packages will be (for instance graphql in version 17), it doesn't make sense to build CJS and it would require to use dynamic imports for the dependencies.