mirror of
https://github.com/boostorg/website-v2.git
synced 2026-01-19 04:42:17 +00:00
🔨 refactor builds
* Removed postcss and postcss-cli because it’s not needed in latest versions of Tailwind cli. * Now using tailwind cli for dev and build * Added cssnano. For now I’m not seeing much if any reduction in size but as it grows we might.
This commit is contained in:
@@ -6,16 +6,15 @@
|
||||
"author": "Greg Newman <greg@gregnewman.org>",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"dev": "postcss frontend/styles.css -w -d static/css/ --verbose",
|
||||
"build": "NODE_ENV=production postcss frontend/styles.css -d static/css/ --verbose"
|
||||
"dev": "tailwindcss -i frontend/styles.css -o static/css/styles.css --watch",
|
||||
"build": "NODE_ENV=production tailwindcss -i frontend/styles.css -o static/css/styles.css --minify"
|
||||
},
|
||||
"dependencies": {
|
||||
"@lottiefiles/lottie-js": "^0.4.1",
|
||||
"@tailwindcss/forms": "^0.5.3",
|
||||
"alpinejs": "^3.10.2",
|
||||
"autoprefixer": "^10.4.12",
|
||||
"postcss": "^8.4.18",
|
||||
"postcss-cli": "^10.0.0",
|
||||
"cssnano": "^5.1.14",
|
||||
"tailwindcss": "^3.2.1"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user