"type": "module",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/esm/index.d.ts",
"import": "./dist/esm/index.js"
},
"./*": {
"types": "./dist/esm/*.d.ts",
"import": "./dist/esm/*/index.js"
}
},
"typesVersions": {
"*": {
"*": [
"dist/esm/*",
"dist/esm/*/index.d.ts"
]
}
},
Which enables base and secondary entrypoints from
Describe the issue
We should consider creating a package or documenting recommended TypeScript Config and
package.jsonexport configs. For now using this issue to capture some common guidance today:strictskipLibCheck: true, see: https://github.com/remcohaszing/skiplibcheckindexfiles and is a file structure / package.json configuration compatible with modern and legacy node import behaviors.