Merge pull request #1738 from johnnyshields/patch-2
Add SVG to the default list of gzipped exts
This commit is contained in:
commit
a0105c9b48
|
@ -10,7 +10,7 @@
|
||||||
# to .html, .htm, .js and .css.
|
# to .html, .htm, .js and .css.
|
||||||
#
|
#
|
||||||
class Middleman::Extensions::Gzip < ::Middleman::Extension
|
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 :ignore, [], 'Patterns to avoid gzipping'
|
||||||
option :overwrite, false, 'Overwrite original files instead of adding .gz extension.'
|
option :overwrite, false, 'Overwrite original files instead of adding .gz extension.'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue