Merge pull request #101 from boulangerseb/enhance/11ty-config-webc-glob-subfolders

Allow nested .webc components via updated glob pattern
This commit is contained in:
Lene Saile 2025-07-26 10:26:09 +02:00 committed by GitHub
commit 6d345f4d14
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -47,7 +47,7 @@ export default async function (eleventyConfig) {
eleventyConfig.addPlugin(plugins.syntaxHighlight);
eleventyConfig.addPlugin(plugins.webc, {
components: ['./src/_includes/webc/*.webc'],
components: ['./src/_includes/webc/**/*.webc'],
useTransform: true
});