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:
commit
6d345f4d14
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ export default async function (eleventyConfig) {
|
||||||
eleventyConfig.addPlugin(plugins.syntaxHighlight);
|
eleventyConfig.addPlugin(plugins.syntaxHighlight);
|
||||||
|
|
||||||
eleventyConfig.addPlugin(plugins.webc, {
|
eleventyConfig.addPlugin(plugins.webc, {
|
||||||
components: ['./src/_includes/webc/*.webc'],
|
components: ['./src/_includes/webc/**/*.webc'],
|
||||||
useTransform: true
|
useTransform: true
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue