--- source: crates/biome_js_analyze/tests/spec_tests.rs expression: invalid_named_alias_reexport.ts --- # Input ```ts export { module as module1 } from "./module1"; ``` # Diagnostics ``` invalid_named_alias_reexport.ts:1:1 lint/nursery/noBarrelFile ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Avoid barrel files, they slow down performance, and cause large module graphs with modules that go unused. > 1 │ export { module as module1 } from "./module1"; │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2 │ i Check this thorough explanation to better understand the context. ```