module.exports = function(eleventyConfig) { // Critical: Tell 11ty to copy CSS and Images directly to the build folder // Without this, your styles and images won't appear in the _site output eleventyConfig.addPassthroughCopy("src/css"); eleventyConfig.addPassthroughCopy("assets"); // Decap CMS admin panel - copy entire folder without template processing eleventyConfig.addPassthroughCopy("admin"); // Tasks folder - copy without template processing eleventyConfig.addPassthroughCopy("tasks"); // Tell 11ty to ignore these folders completely (don't try to render as templates) eleventyConfig.ignores.add("admin/**"); eleventyConfig.ignores.add("tasks/**"); return { dir: { input: ".", output: "_site" } }; };