blob: f8d7b690052c1b440e3d26f884c928f30b782670 [file] [log] [blame]
module.exports = function(eleventyConfig) {
// add JSON pretty printer to liquid.js
eleventyConfig.addLiquidFilter('json', (input) => {
return JSON.stringify(input, null, ' ');
});
eleventyConfig.addPassthroughCopy({
// '...relative to this file': '...relative to `dir.output` below'
'annotator/web/dist/demo/': 'demo/',
'annotator/web/dist/style.css': 'style.css'
});
return {
dir: {
input: 'src',
// relative to `input`
layouts: '_layouts',
output: 'content'
}
};
};