We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hi,
params: { ContentEncoding: 'gzip' // applies to all the files! },
is it possible to apply this only to .js and .css files?
The text was updated successfully, but these errors were encountered:
You can do something like:
files: [ {expand: true, cwd: 'dist', src: ['./scripts/*, './styles/*'], dest: 'app/', params: {ContentEncoding: 'gzip'}}, {expand: true, cwd: 'dist/', src: ['./images/*', './fonts/, etc.*], dest: 'app/'} ]
But I'd suggest looking into the gzip option and gzipRename: https://github.com/MathieuLoutre/grunt-aws-s3#gzip
gzip
gzipRename
Sorry, something went wrong.
No branches or pull requests
hi,
is it possible to apply this only to .js and .css files?
The text was updated successfully, but these errors were encountered: