Skip to content

Commit

Permalink
fix: export node and default modules
Browse files Browse the repository at this point in the history
  • Loading branch information
thibautsabot authored and jcbrand committed Jul 2, 2024
1 parent d4e9996 commit 0239ad2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,11 @@
"module": "dist/strophe.esm.js",
"unpkg": "dist/strophe.umd.min.js",
"exports": {
".": "./src/index.js"
"node": {
"import": "./dist/strophe.esm.js",
"require": "./dist/strophe.common.js"
},
"default": "./src/index.js"
},
"scripts": {
"types": "tsc",
Expand Down

0 comments on commit 0239ad2

Please sign in to comment.