lewisdale.dev/.eleventy.js
Lewis Dale e0c315d837
Some checks failed
Build and copy to prod / build-and-copy (push) Has been cancelled
Upgrade to Eleventy 3.0.0
2024-10-06 12:36:54 +01:00

29 lines
835 B
JavaScript

import UpgradeHelper from "@11ty/eleventy-upgrade-help";
import files from './config/files/index.js';
import plugins from './config/plugins/index.js';
import filters from './config/filters/index.js';
import collections from './config/collections/index.js';
export default function(eleventyConfig) {
eleventyConfig.addPlugin(UpgradeHelper);
eleventyConfig.addPlugin(files);
eleventyConfig.addPlugin(plugins);
eleventyConfig.addPlugin(filters);
eleventyConfig.addPlugin(collections);
return {
passthroughFileCopy: true,
dataTemplateEngine: false,
markdownTemplateEngine: "njk",
htmlTemplateEngine: "njk",
dir: {
input: "src",
includes: "_includes",
data: "_data",
output: "_site"
}
};
};