From a6fd2838bf01a7706e61419f381036c711e0bf24 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 7 Feb 2022 17:34:26 +0100 Subject: [PATCH] Compress output by default --- lib/tasks/build.rake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/tasks/build.rake b/lib/tasks/build.rake index 4acc414..98b2b25 100644 --- a/lib/tasks/build.rake +++ b/lib/tasks/build.rake @@ -8,12 +8,12 @@ def dartsass_build_mapping }.join(" ") end -def dartsass_load_path - "--load-path #{CSS_LOAD_PATH}" +def dartsass_build_options + "--load-path #{CSS_LOAD_PATH} --style=compressed" end def dartsass_compile_command - "#{EXEC_PATH} #{dartsass_load_path} #{dartsass_build_mapping}" + "#{EXEC_PATH} #{dartsass_build_options} #{dartsass_build_mapping}" end namespace :dartsass do