lewisdale.dev/config/files/index.js

9 lines
306 B
JavaScript
Raw Normal View History

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 });
}