feat: rename eleventy config file

This commit is contained in:
Devin Haska 2024-01-31 11:25:13 -08:00
parent ec00e2e544
commit c008d223f6
2 changed files with 2 additions and 0 deletions

View file

@ -1,29 +0,0 @@
module.exports = (eleventyConfig) => {
eleventyConfig.addWatchTarget("./src/assets");
// --------------------- Custom Template Languages ---------------------
eleventyConfig.addPlugin(
require("./config/template-languages/css-config.js"),
);
// --------------------- Passthrough File Copy -----------------------
["src/assets/fonts/"].forEach((path) =>
eleventyConfig.addPassthroughCopy(path),
);
return {
// Optional (default is set): If your site deploys to a subdirectory, change `pathPrefix`, for example with with GitHub pages
pathPrefix: "/",
markdownTemplateEngine: "njk",
dataTemplateEngine: "njk",
htmlTemplateEngine: "njk",
dir: {
output: "dist",
input: "src",
includes: "_includes",
layouts: "_layouts",
},
};
};