leilukin-site/eleventy.config.js

20 lines
555 B
JavaScript
Raw Normal View History

2024-04-11 12:16:05 +00:00
// Installed Plug-ins
const pluginWebc = require("@11ty/eleventy-plugin-webc");
2024-04-11 12:17:11 +00:00
const metagen = require('eleventy-plugin-metagen');
2024-04-11 12:16:05 +00:00
module.exports = function (eleventyConfig) {
2024-04-11 12:16:05 +00:00
// Copy files
eleventyConfig.addPassthroughCopy("./src/assets/");
eleventyConfig.addWatchTarget("./src/assets/");
eleventyConfig.addPassthroughCopy({ "./src/assets/feed/": "/" });
2024-04-11 12:16:05 +00:00
// Installed Plug-ins
eleventyConfig.addPlugin(pluginWebc);
2024-04-11 12:17:11 +00:00
eleventyConfig.addPlugin(metagen);
2024-04-11 12:16:05 +00:00
return {
dir: {
input: "src"
}
};
};