Skip to content

Commit

Permalink
Auto import Response from whatwg-node/fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
dac09 committed Dec 7, 2023
1 parent 10275bb commit 8052b4f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/babel-config/src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,12 @@ export const getApiSideBabelPlugins = (
members: ['context'],
path: '@redwoodjs/graphql-server',
},

{
// import { Response } from '@whatwg-node/fetch'
members: ['Response'],
path: '@whatwg-node/fetch',
},
],
},
'rwjs-babel-auto-import',
Expand Down

0 comments on commit 8052b4f

Please sign in to comment.