-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
Looks like you only distribute a commonjs index.js, causing bundlers to create compatibility code.
Many projects only ship ESM versions today, so you should at least ship both versions.
E.g. your dependency isexe has this in its package.json:
{
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.min.js"
},
"require": {
"types": "./dist/commonjs/index.d.ts",
"default": "./dist/commonjs/index.min.js"
}
}
},
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels