From 294b6c752d62b717fb07b5170d45ee1601af01fa Mon Sep 17 00:00:00 2001 From: Sathya Gunasekaran Date: Mon, 23 Jan 2023 14:36:54 -0500 Subject: [PATCH] [plugin] Add default export to forget --- compiler/forget/src/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/compiler/forget/src/index.ts b/compiler/forget/src/index.ts index c161bb7b64..a3c6d8e2e3 100644 --- a/compiler/forget/src/index.ts +++ b/compiler/forget/src/index.ts @@ -4,7 +4,6 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ - export { default as BabelPlugin } from "./Babel/BabelPlugin"; export { compile, run } from "./CompilerPipeline"; export { printHIR } from "./HIR"; @@ -13,3 +12,6 @@ export { printReactiveFunction } from "./ReactiveScopes"; declare global { var __DEV__: boolean | null | undefined; } + +import ReactForgetBabelPlugin from "./Babel/BabelPlugin"; +export default ReactForgetBabelPlugin;