Skip to content

Commit

Permalink
fix(package): add exports map (#23)
Browse files Browse the repository at this point in the history
Fixes  #22
  • Loading branch information
RealSocius authored May 15, 2024
1 parent 65d2263 commit 6bbc332
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,24 @@
"license": "MIT",
"description": "Declarative pin code component for Svelte",
"author": "Eric Liu (https://github.com/metonym)",
"svelte": "./src/index.js",
"main": "./src/index.js",
"types": "./src/index.d.ts",
"sideEffects": false,
"svelte": "./index.js",
"main": "./index.js",
"types": "./index.d.ts",
"exports": {
".": {
"types": "./index.d.ts",
"import": "./index.js",
"svelte": "./index.js"
},
"./*.svelte": {
"types": "./*.svelte.d.ts",
"import": "./*.svelte"
},
"./unstyled/*.svelte": {
"types": "./unstyled/*.svelte.d.ts",
"import": "./*.svelte"
}
},
"scripts": {
"dev": "rollup -cw",
"predeploy": "rollup -c",
Expand Down

0 comments on commit 6bbc332

Please sign in to comment.