Add types to subpath exports in package.json #2793

Closed
phaseOne wants to merge 1 commits from patch-2 into master

View File

@ -28,22 +28,27 @@
"exports": {
".": {
"import": "./xlsx.mjs",
"require": "./xlsx.js"
"require": "./xlsx.js",
"types": "./types/index.d.ts"
},
"./xlsx.mjs": {
"import": "./xlsx.mjs"
"import": "./xlsx.mjs",
"types": "./types/index.d.ts"
},
"./dist/xlsx.zahl": {
"import": "./dist/xlsx.zahl.mjs",
"require": "./dist/xlsx.zahl.js"
"require": "./dist/xlsx.zahl.js",
"types": "./types/index.d.ts"
},
"./dist/cpexcel": {
"import": "./dist/cpexcel.full.mjs",
"require": "./dist/cpexcel.js"
"require": "./dist/cpexcel.js",
"types": "./types/index.d.ts"
},
"./dist/cpexcel.full": {
"import": "./dist/cpexcel.full.mjs",
"require": "./dist/cpexcel.js"
"require": "./dist/cpexcel.js",
"types": "./types/index.d.ts"
}
},
"browser": {