Skip to content

Conversation

dannyfallon
Copy link
Contributor

By not adding the gzipped files to the distFiles we end up leaving
them out of several things e.g. they're never added to the manifest
for a build and they're never uploaded with the S3 plugin. In much
the same way as the json-config plugin adds the built json file to
the context, this PR will mean the gzip plugin now adds all of the
gzipped files to the context.

Related to ember-cli-deploy/ember-cli-deploy-s3#46

By not adding the gzipped files to the distFiles we end up leaving
them out of several things e.g. they're never added to the manifest
for a build and they're never uploaded with the S3 plugin. In much
the same way as the json-config plugin adds the built json file to
the context, this PR will mean the gzip plugin now adds all of the
gzipped files to the context.
achambers pushed a commit that referenced this pull request Feb 4, 2016
Add the gzipped file to the context's distFiles when keep is true
@achambers achambers merged commit faa4333 into ember-cli-deploy:master Feb 4, 2016
@achambers
Copy link
Member

Champion! Thanks

@dannyfallon dannyfallon deleted the df/add-gzipped-files-to-dist branch February 4, 2016 23:23
@dschmidt
Copy link
Contributor

Good catch! 🍻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants