Skip to content

Commit

Permalink
Update packages/adapter-vercel/index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris authored Aug 30, 2022
1 parent 31205d3 commit 41d9c8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/adapter-vercel/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 41d9c8d

Please sign in to comment.