The default filePattern
for files to be included in the manifest is:
"**/*.{js,css,png,gif,ico,jpg,map,xml,txt,svg,swf,eot,ttf,woff,woff2}"
If I understood correctly, plugins that respect the manifest (such as ember-cli-deploy-s3) will only ever upload files that they find listed in the manifest (if they have different fingerprints that is).
Doesn't that imply that all files not matching the pattern will be completely ignored?
Take what-is-love.webm
for example. If (for whatever reason) someone needed to statically embed this webm video in their website, the video would never be uploaded, because it doesn't match the default file pattern. I did not actually test this though, but if I understood the docs correctly, precisely this would happen.
I can understand why a file filtering feature could be useful and don't advocate to remove it as a whole, but I'd set the default pattern to "**/*"
so all files are matched.
Or even better yet, set filePattern: false
and implement a simple switch that skips the filtering for performance reasons if the filePattern
is false-y.
Alternatively we could test for "**/*"
and just skip in that case to keep the human interface more intuitive.
If I did not miss any deeper reason for this and the change would be welcome, I'd make a quick PR. ๐
Merry X-MAS everybody! ๐