Skip to content

docs: describe export default and export = forwards and type-only test imports - #144

Merged
BartWaardenburg merged 1 commit into
mainfrom
docs/forward-and-type-only-reach
Oct 16, 2026
Merged

BartWaardenburg merged 1 commit into
mainfrom
docs/forward-and-type-only-reach

Conversation

@BartWaardenburg

Copy link
Copy Markdown
Contributor

Updates two pages to match fallow-rs/fallow#3524 and fallow-rs/fallow#3521, which are on fallow main.

  • cli/dead-code.mdx: a file that forwards an import with export default bar or export = bar is now pass-through. The trace lists the importers of that file. The old text said that such a file stays a consumer.
  • cli/audit.mdx: a test that imports a file only with import type does not load the file, so the file gets none-file.
  • public-content-manifest.json is regenerated.

npm run check passes.

…t imports

fallow-rs/fallow#3524 makes a file that forwards an import with
export default or export = a pass-through consumer. The trace now lists
the importers of that file. fallow-rs/fallow#3521 makes a test that
imports a file only with import type give no test reach.
@BartWaardenburg
BartWaardenburg merged commit 894b682 into main Oct 16, 2026
3 checks passed
@BartWaardenburg
BartWaardenburg deleted the docs/forward-and-type-only-reach branch October 16, 2026 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant