Skip to content

Commit 32bfd7e

Browse files
committed
pkg.json: add back export maps for text editor autocompletion
1 parent af34b72 commit 32bfd7e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

package.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,18 @@
3030
"test:node20": "cd test; npx tsc; node compiled/test/index.js",
3131
"test:big": "node test/crosstest.test.js slow"
3232
},
33+
"exports": {
34+
".": "./index.js",
35+
"./_arx.js": "./_arx.js",
36+
"./_poly1305.js": "./_poly1305.js",
37+
"./_polyval.js": "./_polyval.js",
38+
"./aes.js": "./aes.js",
39+
"./chacha.js": "./chacha.js",
40+
"./ff1.js": "./ff1.js",
41+
"./salsa.js": "./salsa.js",
42+
"./utils.js": "./utils.js",
43+
"./webcrypto.js": "./webcrypto.js"
44+
},
3345
"engines": {
3446
"node": ">= 20.19.0"
3547
},

0 commit comments

Comments
 (0)