Skip to content

Replace node-fetch with fetch#203

Merged
nex3 merged 2 commits intosass:mainfrom
ntkme:fetch
Feb 16, 2023
Merged

Replace node-fetch with fetch#203
nex3 merged 2 commits intosass:mainfrom
ntkme:fetch

Conversation

@ntkme
Copy link
Contributor

@ntkme ntkme commented Feb 16, 2023

Latest node-fetch is ESM only, but our tsconfig still compile code to CommonJS, which breaks the import.

Since our release CI now runs on node 18 and node 18 has a built-in fetch, use it instead of node-fetch.

@nex3 nex3 merged commit 4491714 into sass:main Feb 16, 2023
@ntkme ntkme deleted the fetch branch February 16, 2023 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deploy npm failed

2 participants