2024-10-06 11:36:54 +00:00
|
|
|
export default function(eleventyConfig) {
|
2023-02-04 16:27:15 +00:00
|
|
|
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");
|
2023-02-04 16:27:15 +00:00
|
|
|
eleventyConfig.setDataDeepMerge(true);
|
2023-02-13 13:35:44 +00:00
|
|
|
eleventyConfig.setFrontMatterParsingOptions({ excerpt: true, });
|
2023-02-04 16:27:15 +00:00
|
|
|
}
|