1
1
Fork 0

cssnano for smaller style output

This commit is contained in:
Ava Wroten 2021-03-01 09:34:20 -06:00
parent 04a0a362ef
commit d1f3b392a6
3 changed files with 3588 additions and 2 deletions

3584
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -24,6 +24,7 @@
"@11ty/eleventy": "^0.11.1",
"@11ty/eleventy-plugin-syntaxhighlight": "^3.0.6",
"autoprefixer": "^10.2.4",
"cssnano": "^4.1.10",
"nunjucks-date": "^1.5.0",
"postcss": "^8.2.4",
"postcss-cli": "^8.3.1",

View file

@ -1,6 +1,7 @@
module.exports = {
module.exports = (ctx) => ({
plugins: {
tailwindcss: {},
autoprefixer: {},
cssnano: ctx.env === 'production' ? {} : false,
}
}
})