diff --git a/packages/blockchain-link/webpack/workers.web.js b/packages/blockchain-link/webpack/workers.web.js index 4197bfb4ada..2af9626057d 100644 --- a/packages/blockchain-link/webpack/workers.web.js +++ b/packages/blockchain-link/webpack/workers.web.js @@ -42,6 +42,12 @@ module.exports = { stream: require.resolve('stream-browserify'), }, }, + externals: [ + { + // Replace cross-fetch with native fetch, otherwise it will use node-fetch and fails to build + 'cross-fetch': 'fetch', + }, + ], performance: { hints: false, },