File tree Expand file tree Collapse file tree 4 files changed +4
-30
lines changed Expand file tree Collapse file tree 4 files changed +4
-30
lines changed Original file line number Diff line number Diff line change 1
1
module Sass
2
2
module Rails
3
- autoload :CssCompressor , 'sass/rails/compressor'
4
- autoload :Logger , 'sass/rails/logger'
3
+ autoload :Logger , 'sass/rails/logger'
5
4
end
6
5
end
7
6
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -50,11 +50,9 @@ class Railtie < ::Rails::Railtie
50
50
Sass . logger = app . config . sass . logger
51
51
end
52
52
53
- initializer :setup_compression , : group => :all do |app |
53
+ initializer :setup_compression , group : :all do |app |
54
54
unless Rails . env . development?
55
- # Use compressed style if none specified
56
- app . config . sass . style ||= :compressed
57
- app . config . assets . css_compressor ||= CssCompressor . new ( :style => app . config . sass . style )
55
+ app . config . assets . css_compressor ||= :sass
58
56
else
59
57
# Use expanded output instead of the sass default of :nested unless specified
60
58
app . config . sass . style ||= :expanded
You can’t perform that action at this time.
0 commit comments