Skip to content

Commit 4d5f928

Browse files
authored
feat(pkg): add export conditions for runtime keys (#246)
1 parent 2bc8ed8 commit 4d5f928

File tree

2 files changed

+19
-8
lines changed

2 files changed

+19
-8
lines changed

package.json

+12-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,17 @@
88
"type": "module",
99
"exports": {
1010
".": {
11+
"browser": "./dist/index.mjs",
12+
"bun": "./dist/index.mjs",
13+
"deno": "./dist/index.mjs",
14+
"edge-light": "./dist/index.mjs",
15+
"edge-routine": "./dist/index.mjs",
16+
"lagon": "./dist/index.mjs",
17+
"netlify": "./dist/index.mjs",
18+
"react-native": "./dist/index.mjs",
19+
"wintercg": "./dist/index.mjs",
20+
"worker": "./dist/index.mjs",
21+
"workerd": "./dist/index.mjs",
1122
"node": {
1223
"types": "./dist/node.d.ts",
1324
"import": "./dist/node.mjs",
@@ -44,7 +55,7 @@
4455
},
4556
"dependencies": {
4657
"destr": "^1.2.2",
47-
"node-fetch-native": "^1.1.1",
58+
"node-fetch-native": "^1.2.0",
4859
"ufo": "^1.1.2"
4960
},
5061
"devDependencies": {

pnpm-lock.yaml

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)