sass-site/.eleventy.cjs
Jonny Gerig Meyer 29d77ce08a
Add prettier
2023-01-09 14:10:02 -05:00

23 lines
592 B
JavaScript

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