Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 0d58425

Browse files
committedMay 16, 2025
fix(context): Add .js to export for ESM compatibility (#78)
1 parent e240631 commit 0d58425

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
 

‎packages/context/package.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,16 @@
2828
"types": "./dist/cjs/store.d.ts",
2929
"default": "./dist/cjs/store.js"
3030
}
31+
},
32+
"./dist/store.js": {
33+
"import": {
34+
"types": "./dist/store.d.ts",
35+
"default": "./dist/store.js"
36+
},
37+
"default": {
38+
"types": "./dist/cjs/store.d.ts",
39+
"default": "./dist/cjs/store.js"
40+
}
3141
}
3242
},
3343
"main": "./dist/cjs/index.js",

0 commit comments

Comments
 (0)
Please sign in to comment.