Skip to content
This repository was archived by the owner on May 17, 2025. It is now read-only.

feat: allow customizing fetch with a setFetch export - #385

Merged
guybedford merged 2 commits into
mainfrom
custom-fetch
Sep 30, 2024
Merged

feat: allow customizing fetch with a setFetch export#385
guybedford merged 2 commits into
mainfrom
custom-fetch

Conversation

@guybedford

@guybedford guybedford commented Sep 28, 2024

Copy link
Copy Markdown
Member

This allows customizing the fetch function with a setFetch export from the generator:

import { setFetch } from '@jspm/generator';
setFetch(myCustomFetchImplementation);

@guybedford
guybedford merged commit bea0932 into main Sep 30, 2024
@guybedford
guybedford deleted the custom-fetch branch September 30, 2024 19:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant