achambers / ember-cli-deploy-original

An Ember-CLI addon for lightening fast deployment of applications
77 stars 18 forks source link

Add an option to add and override S3 upload parameters based on file extension (support for uploading gzipped assets) #80

Closed ghost closed 9 years ago

ghost commented 9 years ago

To support serving gzipped assets from S3 correctly, we need a way to set additional headers when uploading content to S3.

Example Usage:

module.exports = {
  assets: {
    ....
    extensionOverrides: {
        'css.gz': {
            ContentType: 'text/css',
            ContentEncoding: 'gzip'
        }
    }
  },
achambers commented 9 years ago

ember-cli-deploy is in the process of merging with ember-deploy. Therefore, no more changes will be made to this repo. Please see the README for more details. /cc @neaket360pi

ghost commented 9 years ago

Cool, looks like this is already implemented in the newer repo. Thanks for the info.