mirror of
https://github.com/discourse/discourse.git
synced 2026-08-26 05:07:42 -05:00
Remove monkey patch.
This commit is contained in:
+1
-10
@@ -30,16 +30,7 @@ task 'assets:precompile:before' do
|
|||||||
|
|
||||||
if $node_uglify
|
if $node_uglify
|
||||||
Rails.configuration.assets.js_compressor = nil
|
Rails.configuration.assets.js_compressor = nil
|
||||||
|
Rails.configuration.assets.gzip = false
|
||||||
module ::Sprockets
|
|
||||||
# TODO: https://github.com/rails/sprockets-rails/pull/342
|
|
||||||
# Rails.configuration.assets.gzip = false
|
|
||||||
class Base
|
|
||||||
def skip_gzip?
|
|
||||||
true
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user