Skip to content

Commit

Permalink
Compress output by default
Browse files Browse the repository at this point in the history
  • Loading branch information
dhh committed Feb 7, 2022
1 parent 7c068d5 commit a6fd283
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/tasks/build.rake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a6fd283

Please sign in to comment.