Skip to content

Commit

Permalink
not needed in eager mode
Browse files Browse the repository at this point in the history
and it breaks right now anyway due to ownedByEmberPackage
  • Loading branch information
ef4 committed Mar 9, 2021
1 parent bcc3cec commit 05ab33c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/macros/src/babel/macros-babel-plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ export default function main(context: unknown): unknown {
}

if (
state.opts.importSyncImplementation === 'cjs' &&
path.node.name === 'require' &&
!state.generatedRequires.has(path.node) &&
!path.scope.hasBinding('require') &&
Expand Down

0 comments on commit 05ab33c

Please sign in to comment.