We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
this
1 parent ad58c8d commit 0862902Copy full SHA for 0862902
packages/commonjs/src/transform-commonjs.js
@@ -366,7 +366,7 @@ export default async function transformCommonjs(
366
}
367
return;
368
case 'ThisExpression':
369
- // rewrite top-level `this` as `commonjsHelpers.commonjsGlobal`
+ // rewrite top-level `this` as `exportsName`
370
if (lexicalDepth === 0 && !classBodyDepth) {
371
uses.global = true;
372
if (!ignoreGlobal) {
0 commit comments