aboutsummaryrefslogtreecommitdiff
path: root/packages/webapi/run/build.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/webapi/run/build.js')
-rw-r--r--packages/webapi/run/build.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/webapi/run/build.js b/packages/webapi/run/build.js
index d81f5e609..42571763a 100644
--- a/packages/webapi/run/build.js
+++ b/packages/webapi/run/build.js
@@ -178,7 +178,7 @@ async function build() {
inputOptions: {
input: 'src/polyfill.ts',
plugins: plugins,
- external: ['node-fetch'],
+ external: ['node-fetch', 'global-agent'],
onwarn(warning, warn) {
if (warning.code !== 'UNRESOLVED_IMPORT') warn(warning)
},