feat: reorg project

This commit is contained in:
Devin Haska 2024-02-01 16:30:39 -08:00
parent 23c9baad10
commit 8550a2d98b
8 changed files with 5 additions and 4 deletions

View file

@ -5,7 +5,7 @@ const values = Object.values;
const entries = Object.entries;
const minifyCss = async (css) => {
const output = await postcss([cssnano]).process(css, undefined);
const output = await postcss([cssnano]).process(css, { from: undefined });
return output.css;
};

View file

@ -32,11 +32,12 @@ module.exports = (eleventyConfig) => {
htmlTemplateEngine: "njk",
dir: {
output: "dist",
input: "src",
data: "data",
assets: "assets",
data: "_data",
includes: "_includes",
input: "src",
layouts: "_layouts",
output: "dist",
},
};
};