diff --git a/compiler/forget/scripts/test262-preprocessor.js b/compiler/forget/scripts/test262-preprocessor.js index 919a08c1fe..ef4ed5ac95 100644 --- a/compiler/forget/scripts/test262-preprocessor.js +++ b/compiler/forget/scripts/test262-preprocessor.js @@ -1,4 +1,5 @@ -const runReactForgetBabelPlugin = require("../dist/Babel/RunReactForgetBabelPlugin"); +const runReactForgetBabelPlugin = + require("../dist/Babel/RunReactForgetBabelPlugin").default; // Preprocessor that runs Forget on the test262 test prior to execution. Compilation errors short // circuit test execution and report an error immediately.