From 1c86cb883ef35c4653a23ce6fc59fbfd5a6092e4 Mon Sep 17 00:00:00 2001 From: Quinn Daley Date: Wed, 7 Aug 2024 16:00:10 +0100 Subject: [PATCH] Minify CSS as well as JS --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index bc40202..8627363 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "defaults" ], "scripts": { - "build:css": "sass ./app/assets/stylesheets/application.bulma.scss:./app/assets/builds/application.css --no-source-map --load-path=node_modules", + "build:css": "sass ./app/assets/stylesheets/application.bulma.scss:./app/assets/builds/application.css --no-source-map --load-path=node_modules --style=compressed", "build": "esbuild app/javascript/*.* --bundle --minify --sourcemap --target=es2020 --outdir=app/assets/builds --public-path=assets", "check-types": "tsc --project tsconfig.json --noEmit" }