mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-27 09:35:56 -05:00
Merge pull request #501 from rschamp/bugfix/svg-mime-type
Upload svgs with MIME type image/svg+xml
This commit is contained in:
commit
af7606fbf3
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -31,7 +31,8 @@ webpack:
|
|||
$(WEBPACK) --bail
|
||||
|
||||
sync-s3:
|
||||
$(S3CMD) sync -P --delete-removed --exclude '.DS_Store' ./build/ s3://$(S3_BUCKET_NAME)/
|
||||
$(S3CMD) sync -P --delete-removed --exclude '.DS_Store' --exclude '*.svg' ./build/ s3://$(S3_BUCKET_NAME)/
|
||||
$(S3CMD) sync -P --delete-removed --exclude '*' --include '*.svg' --default-mime-type 'image/svg+xml' ./build/ s3://$(S3_BUCKET_NAME)/
|
||||
|
||||
sync-fastly:
|
||||
$(NODE) ./bin/configure-fastly.js
|
||||
|
|
Loading…
Reference in a new issue