[ext-preview] Inline @babel/generator
Turns out we were only using this in PrintHIR and in the logger, so it should be safe to inline and makes installing the plugin for external collaborators a little easier. I'm assuming inlining this is ok because we only need to defer to the host's Babel version(s) when it affects parsing or the final codegen output, hence why we continue to no-inline @babel/types – as it is responsible for creating AST nodes during codegen
Lauren Tan committed
Oct 30, 2023 at 13:58 UTC
52afd8a566e37b943e379a6fe8ce8e2c9f566a9f
1 file changed
+1
-1
compiler/packages/babel-plugin-react-forget/rollup.config.js
+1
-1
@@ -5,7 +5,7 @@ import json from "@rollup/plugin-json";
5
import path from "path";
6
import process from "process";
7
8
-const NO_INLINE = new Set(["@babel/generator", "@babel/types"]);
8
+const NO_INLINE = new Set(["@babel/types"]);
9
10
export default {
11
input: "src/index.ts",