Skip to content

Add warning for missing default Eleventy config #3675

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

Conversation

vrugtehagel
Copy link
Contributor

Creates a warning for when a default config file (e.g. .eleventy.js or eleventy.config.js) was not found and none was explicitly specified using the --config option.

Fixes #3654.

For the wording of this error, I avoided saying "No default config file found" since following that up with "using the default configuration" would be confusing. It also doesn't seem necessary to say "default config file" anyway, since this warning cannot appear when a config file was manually specified, so there is no ambiguity.

@zachleat
Copy link
Member

Going to close this one per comment left on #3654 (comment) sorry! Happy to discuss other options!

@zachleat zachleat closed this Apr 17, 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.

No error is generated for an incorrectly spelled default config filename.
2 participants