---
source: crates/oxc_linter/src/tester.rs
expression: no_barrel_file
---
  ⚠ oxc(no-barrel-file): Barrel file detected, 6 modules are loaded.
   ╭─[index.ts:1:15]
 1 │ export * from "./deep/a.js";
   ·               ──────┬──────
   ·                     ╰── 3 modules
 2 │            export * from "./deep/b.js";
   ·                          ──────┬──────
   ·                                ╰── 2 modules
 3 │            export * from "./deep/c.js";
   ·                          ──────┬──────
   ·                                ╰── 1 modules
 4 │            export * from "./deep/d.js";
   ╰────
  help: Loading 6 modules is slow for runtimes and bundlers.
        The configured threshold is 1.
        See also: <https://marvinh.dev/blog/speeding-up-javascript-ecosystem-part-7>.
