Skip to content

Commit

Permalink
The fix
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed May 7, 2024
1 parent 09dbe55 commit 3b16269
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/macros/src/babel/macros-babel-plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export default function main(context: typeof Babel): unknown {
let r = t.identifier('require');
state.generatedRequires.add(r);
path.replaceWith(
t.callExpression(state.importUtil.import(path, state.pathToOurAddon('es-compat2'), 'default', 'esc'), [
t.callExpression(state.importUtil.import(path, state.pathToOurAddon('es-compat2.js'), 'default', 'esc'), [
t.callExpression(r, path.node.arguments),
])
);
Expand Down

0 comments on commit 3b16269

Please sign in to comment.