Skip to content

Commit df694bd

Browse files
committed
Fix the esm paths of the exports.
I updated the build files but somehow forgot to update the `exports`. I think I didn't catch it in my testing because the `types` were still correct. Thanks to @arcanis for diagnosing. Hopefully fixes #53.
1 parent 6d8c3b8 commit df694bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
"bin": "dist/bin/main.js",
1212
"exports": {
1313
".": {
14-
"import": "./dist/webauthn-json.js",
14+
"import": "./dist/esm/webauthn-json.js",
1515
"types": "./dist/types/index.d.ts"
1616
},
1717
"./extended": {
18-
"import": "./dist/webauthn-json.extended.js",
18+
"import": "./dist/esm/webauthn-json.extended.js",
1919
"types": "./dist/types/extended.d.ts"
2020
}
2121
},

0 commit comments

Comments
 (0)