rm -r ./build/*
grunt
find ./build/ -type f -exec gzip "{}" \; -exec mv "{}.gz" "{}" \;
aws s3 sync ./build/ s3://fucking-eu-cookies/ --exclude ".gitignore" --cache-control "public, max-age=604800" --content-encoding gzip --delete
rm -r ./build/*
grunt
find ./build/ -type f -exec gzip "{}" \; -exec mv "{}.gz" "{}" \;
aws s3 sync ./build/ s3://fucking-eu-cookies/ --exclude '*' --include "*.js" --cache-control "public, max-age=604800" --content-encoding gzip --content-type="application/javascript;charset=utf-8" --delete
aws s3 sync ./build/ s3://fucking-eu-cookies/ --exclude ".gitignore" --exclude "*.js" --cache-control "public, max-age=604800" --content-encoding gzip --delete
Add charset to HTTP header for all JS files (for pages what is encoded on another charset)
Add charset to HTTP header for all JS files (for pages what is encoded on another charset)
