diff --git a/compiler/packages/babel-plugin-react-forget/src/Entrypoint/Program.ts b/compiler/packages/babel-plugin-react-forget/src/Entrypoint/Program.ts index 04fa34234a..934ca5fa74 100644 --- a/compiler/packages/babel-plugin-react-forget/src/Entrypoint/Program.ts +++ b/compiler/packages/babel-plugin-react-forget/src/Entrypoint/Program.ts @@ -361,7 +361,7 @@ export function compileProgram( } } -function shouldVisitNode(fn: BabelFn, pass: CompilerPass): boolean { +export function shouldVisitNode(fn: BabelFn, pass: CompilerPass): boolean { if (hasUseMemoCacheCall(fn)) { return false; }