Skip to content
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

Allow wildcards in .eleventyignore #3563

Open
j9t opened this issue Nov 30, 2024 · 0 comments
Open

Allow wildcards in .eleventyignore #3563

j9t opened this issue Nov 30, 2024 · 0 comments

Comments

@j9t
Copy link

j9t commented Nov 30, 2024

Is your feature request related to a problem? Please describe.

It can be useful to ignore a number of folders (like for local testing, and with large collections). If these contain patterns, being able to use a wildcard can make such work easier.

For example, posts may be organized by year, as in posts/2018, posts/2019, posts/2020, posts/2021, &c. Eleventy-ignoring just the 2020s can only (my read of the docs and testing with wildcards) be done by adding the respective subfolders to .eleventyignore, as in:

posts/2020/
posts/2021/
…

Describe the solution you'd like

What would be helpful is being able to use wildcards, to handle the above with one line:

posts/20*/

Describe alternatives you've considered

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant