Skip to content

Commit

Permalink
update adapters
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Feb 24, 2022
1 parent 7e97734 commit e1e6cfe
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
7 changes: 7 additions & 0 deletions .changeset/tricky-bees-yell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@sveltejs/adapter-netlify': patch
'@sveltejs/adapter-node': patch
'@sveltejs/adapter-vercel': patch
---

Rename \_\_fetch_polyfill to installFetch
4 changes: 2 additions & 2 deletions packages/adapter-netlify/src/shims.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
import { __fetch_polyfill } from '@sveltejs/kit/install-fetch';
__fetch_polyfill();
import { installFetch } from '@sveltejs/kit/install-fetch';
installFetch();
4 changes: 2 additions & 2 deletions packages/adapter-node/src/shims.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
import { __fetch_polyfill } from '@sveltejs/kit/install-fetch';
__fetch_polyfill();
import { installFetch } from '@sveltejs/kit/install-fetch';
installFetch();
4 changes: 2 additions & 2 deletions packages/adapter-vercel/files/shims.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
import { __fetch_polyfill } from '@sveltejs/kit/install-fetch';
__fetch_polyfill();
import { installFetch } from '@sveltejs/kit/install-fetch';
installFetch();

0 comments on commit e1e6cfe

Please sign in to comment.