@samitouri / QOS-React-2 / commits / 82ed13b8b4

[eslint] Don't inline everything

Turns out this will cause an OOM in node.js when running eslint as part of the IDE ``` Before: 16M packages/eslint-plugin-react-forget/dist/index.js After: 2.2M packages/eslint-plugin-react-forget/dist/index.js ```

Lauren Tan committed Nov 10, 2023 at 13:49 UTC 82ed13b8b421faf0c5b24c73442f3d5ed6a9e458
1 file changed +5 -1
compiler/packages/eslint-plugin-react-forget/rollup.config.js
+5 -1
@@ -13,7 +13,11 @@ import json from "@rollup/plugin-json";
13 import path from "path";
14 import process from "process";
15
16 -const NO_INLINE = new Set([]);
16 +const NO_INLINE = new Set([
17 + "@babel/core",
18 + "@babel/plugin-proposal-private-methods",
19 + "hermes-parser",
20 +]);
21
22 export default {
23 input: "src/index.ts",