lewisdale.dev/config/files/index.js
Lewis Dale 5f0c6bf67e
All checks were successful
Build and copy to prod / build-and-copy (push) Successful in 3m24s
Rambling post about divorce
2025-02-03 13:06:38 +00:00

13 lines
453 B
JavaScript

export default function(eleventyConfig) {
if (process.env.NODE_ENV !== "development") {
eleventyConfig.ignores.add("src/posts/drafts/*");
}
eleventyConfig.ignores.add("src/.obsidian");
eleventyConfig.ignores.add("src/_templates");
eleventyConfig.addPassthroughCopy("src/assets");
eleventyConfig.addPassthroughCopy("src/robots.txt");
eleventyConfig.setDataDeepMerge(true);
eleventyConfig.setFrontMatterParsingOptions({ excerpt: true, });
}