23 lines
460 B
JavaScript
23 lines
460 B
JavaScript
const pluginWebc = require('@11ty/eleventy-plugin-webc')
|
|
|
|
module.exports = function(config) {
|
|
|
|
// webc templates
|
|
config.addPlugin(pluginWebc, {
|
|
components: 'src/_includes/components/*.webc'
|
|
})
|
|
|
|
// admin files
|
|
config.addPassthroughCopy('admin/**')
|
|
config.setServerPassthroughCopyBehavior("passthrough")
|
|
|
|
return {
|
|
dir: {
|
|
input: "src/_content",
|
|
includes: '../_includes',
|
|
data: '../_data',
|
|
output: "dist"
|
|
}
|
|
}
|
|
};
|