Skip to content

Commit f647a81

Browse files
authored
(chore) add exports block for package.json (#27)
1 parent 71cbe56 commit f647a81

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

package.json

+7
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@
1010
"test": "echo \"Error: no test specified\" && exit 1",
1111
"publish": "npm publish --access public --tag next"
1212
},
13+
"exports": {
14+
".": {
15+
"require": "./dist/highlightjs-vue.min.js",
16+
"import": "./dist/highlightjs-vue.esm.min.js",
17+
"types": "./dist/vue.d.ts"
18+
}
19+
},
1320
"type": "module",
1421
"author": "Josh Goebel <[email protected]>",
1522
"license": "BSD-3-Clause",

0 commit comments

Comments
 (0)