@samitouri / QOS-React-2 / commits / 294b6c752d

[plugin] Add default export to forget

Sathya Gunasekaran committed Jan 23, 2023 at 14:36 UTC 294b6c752d62b717fb07b5170d45ee1601af01fa
1 file changed +3 -1
compiler/forget/src/index.ts
+3 -1
@@ -4,7 +4,6 @@
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
6 */
7 -
7 export { default as BabelPlugin } from "./Babel/BabelPlugin";
8 export { compile, run } from "./CompilerPipeline";
9 export { printHIR } from "./HIR";
@@ -13,3 +12,6 @@ export { printReactiveFunction } from "./ReactiveScopes";
12 declare global {
13 var __DEV__: boolean | null | undefined;
14 }
15 +
16 +import ReactForgetBabelPlugin from "./Babel/BabelPlugin";
17 +export default ReactForgetBabelPlugin;