commonjs
fix package.json urls
cd into dir
A node-fetch
compatible override that uses globalThis.fetch
.
Many existing libaries have a depdendency on cross-fetch
, isomorphic-fetch
, and node-fetch
. To avoid taking on transitive dependencies when a global fetch
exists, this package allows to override that dependency with the builtin.
{
"pnpm": {
"overrides": {
"node-fetch": "npm:globalthis-fetch"
}
}
}