Skip to content
Permalink
Browse files

fix(preprocessor): treat *.swf files as binary

  • Loading branch information...
RobCherry authored and vojtajina committed Jul 3, 2014
1 parent 3e0d26a commit 62d7d3873ed3e046ab24530cb20297ddad51cf85
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/preprocessor.js
@@ -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;
});

0 comments on commit 62d7d38

Please sign in to comment.
You can’t perform that action at this time.