Add webp to our image type lists
This commit is contained in:
parent
2b928a326c
commit
fae0e00f42
3 changed files with 3 additions and 3 deletions
|
@ -178,7 +178,7 @@ module Middleman::Cli
|
|||
# @return [void]
|
||||
def execute!
|
||||
# Sort order, images, fonts, js/css and finally everything else.
|
||||
sort_order = %w(.png .jpeg .jpg .gif .bmp .svg .svgz .ico .woff .otf .ttf .eot .js .css)
|
||||
sort_order = %w(.png .jpeg .jpg .gif .bmp .svg .svgz .ico .webp .woff .otf .ttf .eot .js .css)
|
||||
|
||||
# Pre-request CSS to give Compass a chance to build sprites
|
||||
logger.debug '== Prerendering CSS'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue