Skip to content

Commit 0407011

Browse files
authored
Fixed package imports in package.json
1 parent 5efc2c0 commit 0407011

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

package.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,10 @@
1717
"typescript": "^5.1.6"
1818
},
1919
"exports": {
20-
".": {
21-
"import": "./dist/esm/binary_parser.mjs",
22-
"require": "./dist/binary_parser.js"
23-
},
24-
"./*": "./*"
20+
"types": "./dist/binary_parser.d.ts",
21+
"require": "./dist/binary_parser.js",
22+
"import": "./dist/esm/binary_parser.mjs",
23+
"default": "./dist/esm/binary_parser.mjs"
2524
},
2625
"scripts": {
2726
"build": "npm run build:cjs && npm run build:esm",

0 commit comments

Comments
 (0)