build: 📦 add lightningcss and post-processing build step
Apparently, I have visitors who are still on Windows 7
This commit is contained in:
parent
355606b92a
commit
6cc0765ad1
2 changed files with 50 additions and 978 deletions
1024
package-lock.json
generated
1024
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -6,7 +6,8 @@
|
|||
"scripts": {
|
||||
"start": "eleventy --serve --incremental",
|
||||
"build": "ELEVENTY_PRODUCTION=true eleventy",
|
||||
"prebuild": "rm -rf ./public"
|
||||
"build:clean": "rm -rf ./public",
|
||||
"build:lightningcss": "lightningcss --minify --bundle --targets '> 0.2% and not dead, firefox >= 115' ./public/css/style.css -o ./public/css/style.css"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": {
|
||||
|
@ -35,6 +36,7 @@
|
|||
"eleventy-plugin-og-image": "^4.0.1",
|
||||
"eleventy-plugin-robotstxt": "^1.0.0",
|
||||
"eleventy-plugin-tailwindcss-4": "^2.0.1",
|
||||
"lightningcss-cli": "^1.30.1",
|
||||
"markdown-it-abbr": "^2.0.0",
|
||||
"markdown-it-anchor": "^9.2.0",
|
||||
"markdown-it-collapsible": "^2.0.2",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue