Skip to content

Commit d2fa327

Browse files
committed
Stop overriding the app css_compressor setting
1 parent 3f2223f commit d2fa327

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

lib/sassc/rails/railtie.rb

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,5 @@ class Railtie < ::Rails::Railtie
5151
app.assets.register_engine '.scss', SassC::Rails::ScssTemplate
5252
end
5353
end
54-
55-
initializer :setup_compression, group: :all do |app|
56-
app.config.assets.css_compressor = nil
57-
58-
if !Rails.env.development?
59-
app.config.assets.css_compressor ||= :sass
60-
else
61-
# Use expanded output instead of the sass default of :nested unless specified
62-
app.config.sass.style ||= :expanded
63-
end
64-
end
6554
end
6655
end

0 commit comments

Comments
 (0)