Skip to content

Commit 7d73604

Browse files
authoredMar 19, 2020
chore(gatsby): migrate webpack-hmr-hooks-patch to TypeScript (#22280)
* chore(gatsby): migrate webpack-hmr-hooks-patch to TypeScript * fix test * add guard for webpack-hmr-hooks-patch * add description for remaining webpack-hmr-hooks-patch as JS
1 parent 101e322 commit 7d73604

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎packages/gatsby/src/utils/webpack-hmr-hooks-patch.js

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* This file should remain as JS because the migration to TypeScript break the patch.
3+
* For more details, https://github.com/gatsbyjs/gatsby/pull/22280
4+
*/
15
const originalFetch = global.fetch
26
delete global.fetch
37

0 commit comments

Comments
 (0)
Please sign in to comment.