From 41d9c8dc1c3bfb3747a372426519c182622d5ecf Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Tue, 30 Aug 2022 09:05:54 -0400 Subject: [PATCH] Update packages/adapter-vercel/index.js --- packages/adapter-vercel/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/adapter-vercel/index.js b/packages/adapter-vercel/index.js index b545f2acb033..37027c836f7a 100644 --- a/packages/adapter-vercel/index.js +++ b/packages/adapter-vercel/index.js @@ -190,7 +190,7 @@ export default function ({ external = [], edge, split } = {}) { format: 'esm', external, sourcemap: 'linked', - banner: { js: 'var global = globalThis;' } + banner: { js: 'globalThis.global = globalThis;' } }); write(