rizaldy.today/.eleventy.js

18 lines
360 B
JavaScript
Raw Normal View History

2023-02-20 02:47:35 +07:00
const syntaxHighlight = require("@11ty/eleventy-plugin-syntaxhighlight");
module.exports = (config) => {
config.addPlugin(syntaxHighlight);
config.addWatchTarget("./assets/css");
config.addPassthroughCopy("./assets");
config.addPassthroughCopy("./src/**/*.{jpg,png}");
return {
dir: {
input: "src",
output: "dist",
},
};
};