-
-
Notifications
You must be signed in to change notification settings - Fork 493
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
By default look for eleventy.config.cjs and eleventy.config.js config files #1029
Comments
|
|
For consistency between other |
@valtlai, that changes everything! Thank you for the heads up :) |
FWIW: in 0.12.1, manually setting the config to |
@brycewray I think it might be related to #1448 and #1568 |
Punting this one out of 1.0—sorry y’all! |
…ult eleventy config files Currently only .eleventy.js is supported as the default config file. This PR implements a possible solution for multiple config file. It intentionally just implements support for multiple default config files. The implementation might be a little flaky around unittests, but it passes all of them consistently. A future PR should probably look into allowing usage of multiple config files at once. This only uses the first existing one. Signed-off-by: Raphael Höser <[email protected]>
Shipping with |
How can I tell eleventy to look for my configuration file in my configuration folder, without creating a configuration file in the root folder? Ex: root / |
@AdryAtDev You can pass a |
Also think about a potentially breaking change for 1.0 as we want to move away from dot files and look for
eleventy.config.cjs
andeleventy.config.js
too (file separately).I think this will be an additional lookup instead of a replacement for
.eleventy.js
.The text was updated successfully, but these errors were encountered: