sass-site/.eleventy.cjs
2023-01-11 12:30:24 -05:00

26 lines
642 B
JavaScript

'use strict';
/** @param {import('@11ty/eleventy').UserConfig} eleventyConfig */
module.exports = (eleventyConfig) => {
eleventyConfig.addPassthroughCopy('source/assets/dist');
eleventyConfig.addPassthroughCopy('source/assets/img');
eleventyConfig.addPassthroughCopy('source/favicon.ico');
eleventyConfig.addWatchTarget('source/assets/dist');
eleventyConfig.addWatchTarget('source/assets/img');
eleventyConfig.setLiquidOptions({
jsTruthy: true,
});
eleventyConfig.setUseGitIgnore(false);
// settings
return {
dir: {
input: 'source',
includes: '_includes',
layouts: '_layouts',
},
};
};