Skip to content

Commit

Permalink
fix(preprocessor): treat *.gz files as binary
Browse files Browse the repository at this point in the history
  • Loading branch information
adamnation authored and vojtajina committed Jul 29, 2014
1 parent 62d7d38 commit 1b56932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/preprocessor.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var isBinary = Object.create(null);
'sgi', 'tiff', 'psd', 'uvi', 'sub', 'djvu', 'dwg', 'dxf', 'fbs', 'fpx', 'fst', 'mmr',
'rlc', 'mdi', 'wdp', 'npx', 'wbmp', 'xif', 'webp', '3ds', 'ras', 'cmx', 'fh', 'ico', 'pcx', 'pic',
'pnm', 'pbm', 'pgm', 'ppm', 'rgb', 'tga', 'xbm', 'xpm', 'xwd', 'zip', 'rar', 'tar', 'bz2', 'eot',
'ttf', 'woff', 'dat', 'nexe', 'pexe', 'epub', 'mp3', 'ogg', 'swf'
'ttf', 'woff', 'dat', 'nexe', 'pexe', 'epub', 'gz', 'mp3', 'ogg', 'swf'
].forEach(function(extension) {
isBinary['.' + extension] = true;
});
Expand Down

0 comments on commit 1b56932

Please sign in to comment.