Skip to content

Commit 8af0232

Browse files
committed
add exports to package.json
Signed-off-by: Daniel Sieradski <[email protected]>
1 parent 7177e6a commit 8af0232

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

package.json

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,22 @@
1414
"type": "git",
1515
"url": "https://github.com/grid-js/gridjs-vue.git"
1616
},
17-
"main": "./dist/index.js",
17+
"keywords": [
18+
"table",
19+
"grid",
20+
"spreadsheet",
21+
"vue",
22+
"vue-component"
23+
],
24+
"main": "./dist/index.esm.js",
1825
"umd": "./dist/index.umd.js",
19-
"module": "./dist/index.esm.js",
26+
"module": "./dist/index.browser.esm.js",
27+
"exports": {
28+
"require": "./dist/index.js",
29+
"import": "./dist/index.esm.js",
30+
"default": "./dist/index.esm.js",
31+
"browser": "./dist/index.browser.esm.js"
32+
},
2033
"scripts": {
2134
"dev": "baechli -c 'yarn build'",
2235
"build": "rm -rf dist/*; bili;"

0 commit comments

Comments
 (0)