Skip to content

Commit

Permalink
fix: use native fetch when node is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Nov 14, 2020
1 parent f656d3f commit 4271c65
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rollup/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ export const getRollupConfig = (config: SLSOptions) => {
inherits: require.resolve('inherits/inherits_browser.js'),

// Custom
'node-fetch': '~mocks/custom/node-fetch',
depd: '~mocks/custom/depd',
etag: '~mocks/generic/noop',

Expand Down

0 comments on commit 4271c65

Please sign in to comment.