Files
BloomValleyNursery/.eleventy.js
dereklseitz c9c5b89736 Refactor: Reconfigured Directory Structure & Installed 11ty
This commit refactors the project's directory structure to better align with a static site generator (SSG) workflow. The source files have been moved into a dedicated src directory, and Eleventy has been installed as the new SSG.
2025-08-18 20:18:19 -05:00

15 lines
434 B
JavaScript

module.exports = function (eleventyConfig) {
// ✅ Pass through static assets to the root of output
eleventyConfig.addPassthroughCopy({ "src/images": "images" });
eleventyConfig.addPassthroughCopy({ "src/styles": "styles" });
eleventyConfig.addPassthroughCopy({ "src/scripts": "scripts" });
return {
dir: {
input: "src",
output: "_site",
includes: "_includes",
},
};
};