From 973ec414bd78fc458f995ef865ec3ab1d7c2a37d Mon Sep 17 00:00:00 2001 From: Lauren Tan Date: Wed, 8 Nov 2023 15:19:07 -0500 Subject: [PATCH] [eslint] Try inlining everything in build --- compiler/packages/eslint-plugin-react-forget/rollup.config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/compiler/packages/eslint-plugin-react-forget/rollup.config.js b/compiler/packages/eslint-plugin-react-forget/rollup.config.js index 4403f1e1e3..b5fdbf6477 100644 --- a/compiler/packages/eslint-plugin-react-forget/rollup.config.js +++ b/compiler/packages/eslint-plugin-react-forget/rollup.config.js @@ -12,6 +12,8 @@ import json from "@rollup/plugin-json"; import path from "path"; import process from "process"; +const NO_INLINE = new Set([]); + export default { input: "src/index.ts", output: { @@ -28,7 +30,7 @@ export default { json(), nodeResolve({ preferBuiltins: true, - resolveOnly: ["@babel-plugin-react-forget"], + resolveOnly: (module) => NO_INLINE.has(module) === false, rootDir: path.join(process.cwd(), ".."), }), commonjs(),