Files
Web-Doc/eleventy.config.js
2026-08-10 14:36:20 +08:00

14 lines
430 B
JavaScript

module.exports = function (eleventyConfig) {
eleventyConfig.addPassthroughCopy("src/img");
eleventyConfig.addPassthroughCopy("src/product/img");
eleventyConfig.addPassthroughCopy("src/News/img");
eleventyConfig.addPassthroughCopy("src/css");
eleventyConfig.addPassthroughCopy("src/js");
return {
dir: { input: "src", output: "_site" },
templateFormats: ["njk", "html"],
htmlTemplateEngine: "njk",
};
};