@samitouri / QOS-React-2 / commits / 973ec414bd

[eslint] Try inlining everything in build

Lauren Tan committed Nov 8, 2023 at 15:19 UTC 973ec414bd78fc458f995ef865ec3ab1d7c2a37d
1 file changed +3 -1
compiler/packages/eslint-plugin-react-forget/rollup.config.js
+3 -1
@@ -12,6 +12,8 @@ import json from "@rollup/plugin-json";
12 import path from "path";
13 import process from "process";
14
15 +const NO_INLINE = new Set([]);
16 +
17 export default {
18 input: "src/index.ts",
19 output: {
@@ -28,7 +30,7 @@ export default {
30 json(),
31 nodeResolve({
32 preferBuiltins: true,
31 - resolveOnly: ["@babel-plugin-react-forget"],
33 + resolveOnly: (module) => NO_INLINE.has(module) === false,
34 rootDir: path.join(process.cwd(), ".."),
35 }),
36 commonjs(),