Skip to content

Commit

Permalink
Extend the set of compressible files by some common types.
Browse files Browse the repository at this point in the history
  • Loading branch information
oldgreen committed Jan 8, 2012
1 parent 8e727ec commit c763b03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/sprockets/static_compiler.rb
Expand Up @@ -11,7 +11,7 @@ def initialize(env, target, paths, options = {})
@digest = options.key?(:digest) ? options.delete(:digest) : true
@manifest = options.key?(:manifest) ? options.delete(:manifest) : true
@manifest_path = options.delete(:manifest_path) || target
@zip_files = options.delete(:zip_files) || /\.(css|js)$/
@zip_files = options.delete(:zip_files) || /\.(?:css|html|js|svg|txt|xml)$/
end

def compile
Expand Down

0 comments on commit c763b03

Please sign in to comment.