diff --git a/README.md b/README.md index 5a05682..1a56c84 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ For detailed information on how configuration of plugins works, please refer to Files matching this pattern will be gzipped. -*Default:* `'\*\*/\*.{js,css,png,gif,jpg,map,xml,txt,svg,eot,ttf,woff,woff2}'` +*Default:* `'\*\*/\*.{js,css,png,gif,jpg,map,xml,txt,svg,swf,eot,ttf,woff,woff2}'` ### distDir diff --git a/index.js b/index.js index 73e212f..211253d 100644 --- a/index.js +++ b/index.js @@ -20,7 +20,7 @@ module.exports = { var DeployPlugin = DeployPluginBase.extend({ name: options.name, defaultConfig: { - filePattern: '**/*.{js,css,png,gif,jpg,map,xml,txt,svg,eot,ttf,woff,woff2}', + filePattern: '**/*.{js,css,png,gif,jpg,map,xml,txt,svg,swf,eot,ttf,woff,woff2}', zopfli: false, distDir: function(context){ return context.distDir;