@samitouri / QOS-React-1 / commits / 1ebb7ae376

[eslint] Assume external modules are non side-effecting

This lets us tree shake out the `chalk` module entirely

Sathya Gunasekaran committed Nov 28, 2023 at 14:10 UTC 1ebb7ae376ca95e9e038ac3f0fb3eca69c533051
1 file changed +3
compiler/packages/eslint-plugin-react-forget/rollup.config.js
+3
@@ -28,6 +28,9 @@ export default {
28 format: "cjs",
29 sourcemap: false,
30 },
31 + treeshake: {
32 + moduleSideEffects: false,
33 + },
34 plugins: [
35 typescript({
36 compilerOptions: {