Skip to content

Commit dab6bbd

Browse files
committed
chore: export definitions
1 parent 28580ac commit dab6bbd

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

package.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,20 @@
1010
"module": "./dist/slider.js",
1111
"unpkg": "./dist/slider.global.js",
1212
"style": "./themes/default.css",
13+
"exports": {
14+
".": {
15+
"types": "./src/index.d.ts",
16+
"import": "./dist/slider.js",
17+
"require": "./dist/slider.js"
18+
},
19+
"./src/*": "./src/*",
20+
"./dist/*": "./dist/*",
21+
"./themes/*": "./themes/*",
22+
"./tailwind": "./tailwind.js",
23+
"./tailwind.js": "./tailwind.js",
24+
"./package.json": "./package.json"
25+
},
26+
"sideEffects": false,
1327
"repository": {
1428
"type": "git",
1529
"url": "git+https://github.com/vueform/slider.git"

0 commit comments

Comments
 (0)