feat: Minify css

- Add dependency clean-css
- Add do_minifycss function as filter to eleventy
- Add workaround for demo mode with computed data file
This commit is contained in:
sthag 2025-04-12 16:13:14 +02:00
parent 024540e389
commit d7ce139ab7
4 changed files with 49 additions and 3 deletions

View file

@ -0,0 +1,5 @@
module.exports = {
eleventyComputed: {
path: demoMode ? "/" : "/demo/"
}
};