netlify / framework-info

Framework detection utility
MIT License
137 stars 21 forks source link

Eleventy v2.0 supports new filenames for config files. #829

Closed dwkns closed 1 year ago

dwkns commented 2 years ago

Describe the bug

Eleventy supports new filenames for config files. Previously only .eleventy.js was used. Now it can be eleventy.config.js or eleventy.config.cjs as well.

See: https://www.11ty.dev/docs/config/#default-configuration-filenames

netlify dev doesn't automatically detect these new files.

Configuration System: OS: macOS 13.0 CPU: (10) arm64 Apple M1 Max Memory: 962.53 MB / 32.00 GB Shell: 5.8.1 - /bin/zsh Binaries: Node: 16.17.1 - /opt/homebrew/opt/node@16/bin/node Yarn: 1.22.19 - /opt/homebrew/bin/yarn npm: 8.15.0 - /opt/homebrew/opt/node@16/bin/npm

Pull requests