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:
parent
024540e389
commit
d7ce139ab7
4 changed files with 49 additions and 3 deletions
5
source/templates/demo/eleventyComputed.js
Normal file
5
source/templates/demo/eleventyComputed.js
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
module.exports = {
|
||||
eleventyComputed: {
|
||||
path: demoMode ? "/" : "/demo/"
|
||||
}
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue