From 846201701b8cc7dafcd088d1fc97468bdf6a29a9 Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Thu, 11 Apr 2024 23:34:28 +0800 Subject: [PATCH] Set WebC component directory --- eleventy.config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/eleventy.config.js b/eleventy.config.js index 501830d2..4e9c2643 100644 --- a/eleventy.config.js +++ b/eleventy.config.js @@ -12,7 +12,9 @@ module.exports = function (eleventyConfig) { // Installed Plug-ins eleventyConfig.addPlugin(EleventyRenderPlugin); - eleventyConfig.addPlugin(pluginWebc); + eleventyConfig.addPlugin(pluginWebc, { + components: "./src/_includes/**/*.webc", + }); eleventyConfig.addPlugin(pluginRss); eleventyConfig.addPlugin(metagen);