lewisdale.dev/config/files/index.js
2023-02-13 13:35:44 +00:00

9 lines
307 B
JavaScript

module.exports = function(eleventyConfig) {
if (process.env.NODE_ENV !== "development") {
eleventyConfig.ignores.add("src/posts/drafts/*");
}
eleventyConfig.addPassthroughCopy("src/assets");
eleventyConfig.setDataDeepMerge(true);
eleventyConfig.setFrontMatterParsingOptions({ excerpt: true, });
}