2020-05-08 17:09:01 +00:00
|
|
|
const CleanCSS = require("clean-css");
|
|
|
|
|
|
|
|
module.exports = function(eleventyConfig) {
|
|
|
|
eleventyConfig.addFilter("cssmin", function(code) {
|
|
|
|
return new CleanCSS({}).minify(code).styles.trim();
|
|
|
|
});
|
2020-05-09 00:36:40 +00:00
|
|
|
eleventyConfig.addPassthroughCopy("static/images");
|
2021-09-05 15:01:43 +00:00
|
|
|
eleventyConfig.addPassthroughCopy("security.txt");
|
2020-05-08 17:09:01 +00:00
|
|
|
return eleventyConfig;
|
|
|
|
};
|