From 23dd9ebd5c745af21bc3f596e3237ea140f57881 Mon Sep 17 00:00:00 2001 From: Jason Kriss Date: Tue, 22 Sep 2015 15:31:44 -0700 Subject: [PATCH] add swf to default filePattern --- README.md | 2 +- index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 58bc17a..3b9e14e 100644 --- a/README.md +++ b/README.md @@ -95,7 +95,7 @@ A directory within the `bucket` that the files should be uploaded in to. Files that match this pattern will be uploaded to S3. The file pattern must be relative to `distDir`. -*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 8eaeea9..1ee72d2 100644 --- a/index.js +++ b/index.js @@ -14,7 +14,7 @@ module.exports = { name: options.name, defaultConfig: { region: 'us-east-1', - 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}', prefix: '', distDir: function(context) { return context.distDir;