Skip to content

Commit

Permalink
Add ESM support to dap via package.json exports (#1034)
Browse files Browse the repository at this point in the history
  • Loading branch information
tanyav2 authored Nov 14, 2024
1 parent efda61f commit 3e0e0af
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/dap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,11 @@
"@hpke/core": "^1.7.1",
"@hpke/dhkem-x25519": "^1.5.0",
"esbuild": "^0.24.0"
},
"exports": {
".": {
"import": "./dist/index.js"
},
"./browser": "./dist/browser.js"
}
}

0 comments on commit 3e0e0af

Please sign in to comment.