From 9857add66129c906818c67e962e62046cbd50fd6 Mon Sep 17 00:00:00 2001 From: rotanadan Date: Thu, 16 May 2024 12:59:08 -0500 Subject: [PATCH] small tweaks to fix production css --- components/theme/tailwind/package.json.twig | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/components/theme/tailwind/package.json.twig b/components/theme/tailwind/package.json.twig index 7cacd40..134eb3e 100644 --- a/components/theme/tailwind/package.json.twig +++ b/components/theme/tailwind/package.json.twig @@ -8,9 +8,11 @@ "scripts": { "build": "cross-env NODE_ENV=development tailwindcss -i ./css/site.css -o ./dist/css/site.css --postcss", "watch": "cross-env NODE_ENV=development tailwindcss -i ./css/site.css -o ./dist/css/site.css --postcss --watch", - "prod" : "cross-env NODE_ENV=production tailwindcss -i ./css/site.css -o ./dist/css/site.css --postcss" + "prod" : "cross-env NODE_ENV=production tailwindcss -i ./css/site.css -o ./dist/css/site.min.css --postcss" + }, + "dependencies": { + "cssnano": "^7.0.1" }, - "dependencies": {}, "devDependencies": { "@tailwindcss/forms": "^0.5.3", "@tailwindcss/typography": "^0.5.9",