1
0
Fork 0
mirror of https://github.com/GuerillaStudio/compteur-de-greve.git synced 2024-10-09 05:19:02 +00:00
compteur-de-greve/.eleventy.js

23 lines
535 B
JavaScript
Raw Normal View History

2023-03-01 18:47:59 +00:00
const eleventySass = require("@11tyrocks/eleventy-plugin-sass-lightningcss")
module.exports = function (eleventyConfig) {
eleventyConfig.addPlugin(eleventySass)
2023-03-01 22:32:20 +00:00
eleventyConfig.setServerPassthroughCopyBehavior("passthrough")
eleventyConfig.addPassthroughCopy({
"node_modules/alpinejs/dist/cdn.min.js": "js/alpine.js"
})
2023-03-01 22:32:20 +00:00
eleventyConfig.addPassthroughCopy("src/js/**/*.js")
2023-03-02 01:14:28 +00:00
eleventyConfig.addPassthroughCopy({ "static": "/" })
2023-03-01 22:32:20 +00:00
2023-03-01 18:47:59 +00:00
return {
htmlTemplateEngine: "njk",
2023-03-01 18:47:59 +00:00
dir: {
input: "src",
output: "public",
},
};
};