mirror of
https://github.com/danog/sass-site.git
synced 2024-11-26 20:14:53 +01:00
26 lines
642 B
JavaScript
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',
|
|
},
|
|
};
|
|
};
|