Skip to content

Conversation

zachleat
Copy link
Member

@zachleat zachleat commented Apr 16, 2024

Similar to #3244.

Order of precedence:

  • --formats overrides all—ignores all other methods.
    • Breaking change: In 3.x --formats="" or --formats= means no formats—in 2.x these values aliased to "*"
  • eleventyConfig.setTemplateFormats() (supplemented by eleventyConfig.addTemplateFormats())
  • templateFormats in return object or in config named export (supplemented by eleventyConfig.addTemplateFormats())

@zachleat zachleat added this to the Eleventy 3.0.0 milestone Apr 16, 2024
@zachleat zachleat added the breaking-change This will have to be included with a major version as it breaks backwards compatibility. label Apr 16, 2024
@zachleat zachleat merged commit 278db9b into main Apr 16, 2024
@zachleat zachleat deleted the normalize-templateformats branch April 16, 2024 19:21
zachleat added a commit to 11ty/eleventy-upgrade-help that referenced this pull request Jul 23, 2024
@zachleat zachleat mentioned this pull request Jul 23, 2024
@zachleat zachleat added the needs-documentation Documentation for this issue/feature is pending! label Sep 20, 2024
zachleat added a commit to 11ty/11ty-website that referenced this pull request Sep 27, 2024
@zachleat zachleat removed the needs-documentation Documentation for this issue/feature is pending! label Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change This will have to be included with a major version as it breaks backwards compatibility.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant