Skip to content

Commit 1376618

Browse files
committed
chore: Add options to serve dist files in package.json
1 parent 18de329 commit 1376618

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@
22
"name": "vue-skip-to",
33
"version": "1.0.6",
44
"description": "It helps people who only use the keyboard to jump to what matters most.",
5-
"main": "dist/vue-skip-to.js",
5+
"main": "dist/vue-skip-to.umd.js",
6+
"module": "dist/vue-skip-to.esm.js",
7+
"unpkg": "dist/vue-skip-to.min.js",
8+
"browser": {
9+
"./sfc": "src/VueSkipTo.vue"
10+
},
611
"scripts": {
712
"dev": "rollup --config rollup.config.dev.js --watch",
813
"build": "npm run build:umd & npm run build:es & npm run build:unpkg",

0 commit comments

Comments
 (0)