build: 🔧 add CSS post-processing
This commit is contained in:
parent
215e5fca89
commit
4e59244ca5
2 changed files with 78 additions and 312 deletions
|
@ -5,7 +5,8 @@
|
|||
"scripts": {
|
||||
"start": "eleventy --serve --incremental",
|
||||
"build": "ELEVENTY_PRODUCTION=true eleventy",
|
||||
"prebuild": "rm -rf ./public"
|
||||
"build:clean": "rm -rf ./public",
|
||||
"build:css": "lightningcss --minify --targets '> 0.2%, not dead, last 2 versions, iOS >= 16.7' ./public/bundle/*.css -d ./public/bundle/"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
|
@ -17,6 +18,7 @@
|
|||
"@11ty/eleventy-img": "^6.0.4",
|
||||
"@11ty/eleventy-navigation": "^1.0.4",
|
||||
"@11ty/eleventy-plugin-webc": "^0.11.2",
|
||||
"html-minifier-terser": "^7.2.0"
|
||||
"html-minifier-terser": "^7.2.0",
|
||||
"lightningcss-cli": "^1.30.1"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue