Closed dwkns closed 1 year 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.
.eleventy.js
eleventy.config.js
eleventy.config.cjs
See: https://www.11ty.dev/docs/config/#default-configuration-filenames
netlify dev doesn't automatically detect these new files.
netlify dev
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
Describe the bug
Eleventy supports new filenames for config files. Previously only
.eleventy.js
was used. Now it can beeleventy.config.js
oreleventy.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