Skip to content

Commit

Permalink
fix: adjust types & exports for all bundler (#161)
Browse files Browse the repository at this point in the history
- hopefully get better result when checking exports in https://arethetypeswrong.github.io/?p=multiple-select-vanilla
  • Loading branch information
ghiscoding authored Nov 11, 2023
1 parent 9cf8c4d commit b4ad0ac
Showing 1 changed file with 18 additions and 14 deletions.
32 changes: 18 additions & 14 deletions lib/package.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,29 @@
{
"name": "multiple-select-vanilla",
"version": "0.6.1",
"exports": {
".": {
"import": "./dist/esm/multiple-select.js",
"require": "./dist/cjs/multiple-select.js",
"default": "./dist/esm/multiple-select.js",
"types": "./dist/types/index.d.ts"
},
"./*": "./*"
},
"main": "./dist/cjs/multiple-select.js",
"module": "./dist/esm/multiple-select.js",
"types": "index.d.ts",
"typesVersions": {
"*": {
">=4.2": {
"*": [
"./dist/types/index.d.ts"
"dist/types/*"
]
}
},
"types": "./dist/types/index.d.ts",
"main": "./dist/cjs/multiple-select.js",
"module": "./dist/esm/multiple-select.js",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"node": "./dist/cjs/multiple-select.js",
"require": "./dist/cjs/multiple-select.js",
"default": "./dist/esm/multiple-select.js"
},
"./dist/multiple-select-all-locales": "./dist/multiple-select-all-locales",
"./dist/multiple-select": "./dist/multiple-select",
"./dist/locales/*": "./dist/locales/*",
"./dist/styles/*": "./dist/styles/*",
"./package.json": "./package.json"
},
"files": [
"dist"
],
Expand Down

0 comments on commit b4ad0ac

Please sign in to comment.