Add ESM Entrypoint with gen-esm-wrapper
Jytesh opened this issue · 1 comments
Jytesh commented
https://www.npmjs.com/package/gen-esm-wrapper
{
"exports": {
".": {
"require": "./index.js",
"import": "./dist/output.mjs"
},
"./": "./"
},
"scripts": {
"build": "gen-esm-wrapper . ./dist/output.mjs",
},
}
Jytesh commented
Nevermind it is not required, since we export only one class