lewisdale.dev/config/files/index.js

10 lines
359 B
JavaScript
Raw Permalink Normal View History

2024-10-06 11:36:54 +00:00
export default function(eleventyConfig) {
if (process.env.NODE_ENV !== "development") {
eleventyConfig.ignores.add("src/posts/drafts/*");
}
eleventyConfig.addPassthroughCopy("src/assets");
2023-05-11 09:30:28 +00:00
eleventyConfig.addPassthroughCopy("src/robots.txt");
eleventyConfig.setDataDeepMerge(true);
2023-02-13 13:35:44 +00:00
eleventyConfig.setFrontMatterParsingOptions({ excerpt: true, });
}