mirror of
https://github.com/danog/sass-site.git
synced 2024-11-30 04:29:17 +01:00
23 lines
592 B
JavaScript
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',
|
|
},
|
|
};
|
|
};
|