From 4c39ace22beefbbc7aee46c459a55d40c419bf0e Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Sun, 21 Aug 2022 10:33:29 -0500 Subject: [PATCH] Log globals and this --- scripts/vercel-post-deploy/index.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/vercel-post-deploy/index.js b/scripts/vercel-post-deploy/index.js index 42df282..211acc9 100644 --- a/scripts/vercel-post-deploy/index.js +++ b/scripts/vercel-post-deploy/index.js @@ -1,7 +1,13 @@ -;(async () => { +const rootThis = this + +;(async function () { console.log( 'process.env', process.env ) + console.log( 'global', global ) + console.log( 'globalThis', globalThis ) + + console.log( 'rootThis', rootThis ) process.exit() })()