Merge pull request #1738 from johnnyshields/patch-2

Add SVG to the default list of gzipped exts
This commit is contained in:
Thomas Reynolds 2016-01-07 11:36:34 -08:00
commit a0105c9b48

View file

@ -10,7 +10,7 @@
# to .html, .htm, .js and .css.
#
class Middleman::Extensions::Gzip < ::Middleman::Extension
option :exts, %w(.js .css .html .htm), 'File extensions to Gzip when building.'
option :exts, %w(.js .css .html .htm .svg), 'File extensions to Gzip when building.'
option :ignore, [], 'Patterns to avoid gzipping'
option :overwrite, false, 'Overwrite original files instead of adding .gz extension.'