Skip to content

Commit c916945

Browse files
committed
fix: add default export condition for CJS resolution compat
1 parent a1cd718 commit c916945

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

packages/secure-exec/package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,19 @@
1616
},
1717
"exports": {
1818
".": {
19+
"types": "./dist/index.d.ts",
1920
"import": "./dist/index.js",
20-
"types": "./dist/index.d.ts"
21+
"default": "./dist/index.js"
2122
},
2223
"./browser": {
24+
"types": "./dist/browser-runtime.d.ts",
2325
"import": "./dist/browser-runtime.js",
24-
"types": "./dist/browser-runtime.d.ts"
26+
"default": "./dist/browser-runtime.js"
2527
},
2628
"./python": {
29+
"types": "./dist/python-runtime.d.ts",
2730
"import": "./dist/python-runtime.js",
28-
"types": "./dist/python-runtime.d.ts"
31+
"default": "./dist/python-runtime.js"
2932
}
3033
},
3134
"scripts": {

0 commit comments

Comments
 (0)