Skip to content

Commit a271c30

Browse files
authored
Add: 'html_compress_exclude_pattern' config var
1 parent dfe700a commit a271c30

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Add the following to your config.yml to exclude some files from minify/compress
2121

2222
```yaml
2323
html_compress_exclude: ['.htaccess','robots.txt','crossdomain.xml', 'sitemap.xml','nortonsw_bc7be3d0-796e-0.html','BingSiteAuth.xml']
24+
html_compress_exclude_pattern: '/(.*)?\.(jpe?g|png|gif|ico|svg|psd|tiff|webm|mov|avi|mkv|mp4|eot|ttf|otf|woff|woff2|webp)$/i'
2425
```
2526
2627
Just run build command:

0 commit comments

Comments
 (0)