All checks were successful
Build and copy to prod / build-and-copy (push) Successful in 3m24s
13 lines
453 B
JavaScript
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, });
|
|
} |