From d97e380db84b47bac50e22b7e5d6dca879c2eb8c Mon Sep 17 00:00:00 2001 From: Alessandro Tagliapietra Date: Tue, 10 Feb 2015 23:58:29 +0100 Subject: [PATCH] Add Woff2 to builder asset order --- middleman-core/lib/middleman-core/builder.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/middleman-core/lib/middleman-core/builder.rb b/middleman-core/lib/middleman-core/builder.rb index c1f693b1..17cc589e 100644 --- a/middleman-core/lib/middleman-core/builder.rb +++ b/middleman-core/lib/middleman-core/builder.rb @@ -16,7 +16,7 @@ module Middleman def_delegator :@app, :logger # Sort order, images, fonts, js/css and finally everything else. - SORT_ORDER = %w(.png .jpeg .jpg .gif .bmp .svg .svgz .webp .ico .woff .otf .ttf .eot .js .css) + SORT_ORDER = %w(.png .jpeg .jpg .gif .bmp .svg .svgz .webp .ico .woff .woff2 .otf .ttf .eot .js .css) # Create a new Builder instance. # @param [Middleman::Application] app The app to build.