File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 41
41
42
42
# Build Configuration
43
43
configure :build do
44
- activate :asset_hash
44
+ # We do want to hash woff and woff2 as there's a bug where woff2 will use
45
+ # woff asset hash which breaks things. Trying to use a combination of ignore and
46
+ # rewrite_ignore does not work as it conflicts weirdly with relative_assets. Disabling
47
+ # the .woff2 extension only does not work as .woff will still activate it so have to
48
+ # have both. See https://github.com/slatedocs/slate/issues/1171 for more details.
49
+ activate :asset_hash , :exts => app . config [ :asset_extensions ] - %w[ .woff .woff2 ]
45
50
# If you're having trouble with Middleman hanging, commenting
46
51
# out the following two lines has been known to help
47
52
activate :minify_css
48
53
activate :minify_javascript
49
- # activate :relative_assets
50
- # activate :asset_hash
51
54
# activate :gzip
52
55
end
53
56
You can’t perform that action at this time.
0 commit comments