Skip to content

Commit 84a3787

Browse files
authored
Merge pull request #30 from jrjohnson/no-woff
Skip compressing already compressed font files
2 parents 6009fe3 + 3634030 commit 84a3787

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ For detailed information on how configuration of plugins works, please refer to
5555
Files matching this pattern will be gzipped.
5656
Note: image files such as `.png`, `.jpg` and `.gif` should not be gzipped, as they already are compressed.
5757

58-
*Default:* `'\*\*/\*.{js,css,json,ico,map,xml,txt,svg,eot,ttf,woff,woff2}'`
58+
*Default:* `'\*\*/\*.{js,css,json,ico,map,xml,txt,svg,eot,ttf}'`
5959

6060
### ignorePattern
6161

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module.exports = {
2020
var DeployPlugin = DeployPluginBase.extend({
2121
name: options.name,
2222
defaultConfig: {
23-
filePattern: '**/*.{js,css,json,ico,map,xml,txt,svg,eot,ttf,woff,woff2}',
23+
filePattern: '**/*.{js,css,json,ico,map,xml,txt,svg,eot,ttf}',
2424
ignorePattern: null,
2525
zopfli: false,
2626
keep: false,

0 commit comments

Comments
 (0)