Skip to content

Commit a97ed26

Browse files
chore: fix workerd issue (#193)
* chore: fix workerd issue * ci: apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
1 parent 690c618 commit a97ed26

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.changeset/tall-feet-love.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@tanstack/devtools': patch
3+
---
4+
5+
add `workerd` export condition

packages/devtools/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@
2121
"types": "dist/index.d.ts",
2222
"module": "dist/index.js",
2323
"exports": {
24+
"workerd": {
25+
"types": "./dist/index.d.ts",
26+
"import": "./dist/server.js"
27+
},
2428
"browser": {
2529
"development": {
2630
"types": "./dist/index.d.ts",

0 commit comments

Comments
 (0)