Skip to content

Commit

Permalink
build: add top level react-native field
Browse files Browse the repository at this point in the history
resolves #293
  • Loading branch information
pi0 committed Oct 26, 2023
1 parent e82de48 commit 03680dd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
},
"main": "./dist/node.cjs",
"module": "./dist/index.mjs",
"react-native": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist",
Expand All @@ -71,7 +72,7 @@
},
"dependencies": {
"destr": "^2.0.2",
"node-fetch-native": "^1.4.0",
"node-fetch-native": "^1.4.1",
"ufo": "^1.3.1"
},
"devDependencies": {
Expand Down
16 changes: 8 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 comments on commit 03680dd

@qnp
Copy link

@qnp qnp commented on 03680dd Nov 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @pi0, thanks for the work here.
Do you know when a new version of ofetch will be released, including this fix ?
Best regards

@pi0
Copy link
Member Author

@pi0 pi0 commented on 03680dd Nov 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hope by weekend.

Please sign in to comment.