Skip to content

Commit 554d2bf

Browse files
committed
chore: support improt load
1 parent 197f775 commit 554d2bf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@
2020
"concise",
2121
"vue"
2222
],
23+
"exports": {
24+
"./server": "./index.js",
25+
"./client": "./dist/discuss.js",
26+
"./client-admin": "./dist/discuss.admin.js"
27+
},
2328
"repository": {
2429
"type": "git",
2530
"url": "https://github.com/discussjs/discuss"

0 commit comments

Comments
 (0)