mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 23:22:02 +00:00
fix: use native fetch when node is disabled
This commit is contained in:
parent
9e638e96fa
commit
a5e70eb4b0
@ -72,6 +72,7 @@ export const getRollupConfig = (config: SLSOptions) => {
|
|||||||
inherits: require.resolve('inherits/inherits_browser.js'),
|
inherits: require.resolve('inherits/inherits_browser.js'),
|
||||||
|
|
||||||
// Custom
|
// Custom
|
||||||
|
'node-fetch': '~mocks/custom/node-fetch',
|
||||||
depd: '~mocks/custom/depd',
|
depd: '~mocks/custom/depd',
|
||||||
etag: '~mocks/generic/noop',
|
etag: '~mocks/generic/noop',
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user