Support both CommonJS and EsModule
samchon opened this issue · comments
Jeongho Nam commented
It would better to support both CommonJS and EsModule through below package.json
configuration.
Also, special configuration of tsconfig.json
building both mode also required.
{
"typings": "index.d.ts",
"main": "index.cjs",
"module": "index.mjs"
}