Skip to content

Commit

Permalink
fix(preprocessor): treat *.swf files as binary
Browse files Browse the repository at this point in the history
  • Loading branch information
RobCherry authored and vojtajina committed Jul 29, 2014
1 parent 3e0d26a commit 62d7d38
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'
'ttf', 'woff', 'dat', 'nexe', 'pexe', 'epub', 'mp3', 'ogg', 'swf'
].forEach(function(extension) {
isBinary['.' + extension] = true;
});
Expand Down

0 comments on commit 62d7d38

Please sign in to comment.