mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 13:45:18 +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'),
|
||||
|
||||
// Custom
|
||||
'node-fetch': '~mocks/custom/node-fetch',
|
||||
depd: '~mocks/custom/depd',
|
||||
etag: '~mocks/generic/noop',
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user