Don’t use mime magic to guess

hopefully just using file extensions works
This commit is contained in:
Matthew Taylor 2016-08-04 08:24:02 -04:00
parent 538aed21eb
commit 3a6ed90e72

View file

@ -31,7 +31,7 @@ webpack:
$(WEBPACK) --bail
sync-s3:
$(S3CMD) sync -P --delete-removed --exclude '.DS_Store' --exclude '*.svg' --guess-mime-type ./build/ s3://$(S3_BUCKET_NAME)/
$(S3CMD) sync -P --delete-removed --exclude '.DS_Store' --exclude '*.svg' --guess-mime-type --no-mime-magic ./build/ s3://$(S3_BUCKET_NAME)/
$(S3CMD) sync -P --delete-removed --exclude '*' --include '*.svg' --mime-type 'image/svg+xml' ./build/ s3://$(S3_BUCKET_NAME)/
sync-fastly: