Skip to content

Astro: don't interpret files and folders beginning with underscores as entrypoints #1187

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Ivo-Evans
Copy link

Addresses #1179


assert(issues._files['fixtures/plugins/astro/src/pages/blog/_nested-unused-file.ts']);
assert(issues._files['fixtures/plugins/astro/src/pages/blog/_util/unused-component.astro']);
assert(issues._files['fixtures/plugins/astro/src/pages/blog/_util/nested/deeply-nested-unused-file.ts']);
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that the issues surface in _files, not files

@Ivo-Evans Ivo-Evans changed the title Astro support underscore code in pages dir Astro: don't interpret files and folders beginning with underscores as entrypoints Jul 22, 2025
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