json-schema-ref-parser icon indicating copy to clipboard operation
json-schema-ref-parser copied to clipboard

ESM Version

Open jogibear9988 opened this issue 3 years ago • 2 comments

could you also provide a ESM build in your package? I'm haveing a frontend without using a bundler, only ESM modules.

You could add an extra directory in your nuget, like "esm" and then create a new property in your package.json, like:

"module": "..." and "exports": { "requier": "...", "import":"..."}

jogibear9988 avatar Dec 25 '21 11:12 jogibear9988

you could use esbuild for this... https://medium.com/geekculture/build-a-library-with-esbuild-23235712f3c

jogibear9988 avatar Dec 25 '21 12:12 jogibear9988

Hey @jogibear9988, can you send over a pull request for this? I don't know what it means and this is an free open-source project powered by the community who use it! 🙌🏻

philsturgeon avatar Dec 28 '21 13:12 philsturgeon

@jogibear9988 this is currently almost working in #288.

philsturgeon avatar Nov 07 '22 11:11 philsturgeon