Skip to content

Commit fec5c97

Browse files
committed
chore: fix workerd issue
1 parent 690c618 commit fec5c97

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
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: 5 additions & 1 deletion
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",
@@ -70,4 +74,4 @@
7074
"tsup-preset-solid": "^2.2.0",
7175
"vite-plugin-solid": "^2.11.8"
7276
}
73-
}
77+
}

0 commit comments

Comments
 (0)