Skip to content

Commit ef1f69c

Browse files
committed
Fix script MIME type
1 parent be94b9f commit ef1f69c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"publish:executeIfReleaseCommit": "bash -c 'COMMIT=$(git log -1 --pretty=%B) && [ \"${COMMIT:0:8}\" != \"Release \" ] || npm run publish:execute'",
4646
"publish:execute": "npm run publish:cdn && npm publish && npm run publish:createGitHubRelease",
4747
"publish:createGitHubRelease": "gh release create v$(node -p \"require('./package.json').version\")",
48-
"publish:cdn": "npm run prepack:cdn && aws s3 cp --recursive --content-type application/json dist/ s3://upload-js-releases/react-uploader/ && aws cloudfront create-invalidation --distribution-id EO4VJPLCDN8HY --paths '/react-uploader/*'",
48+
"publish:cdn": "npm run prepack:cdn && aws s3 cp --recursive --content-type application/javascript dist/ s3://upload-js-releases/react-uploader/ && aws cloudfront create-invalidation --distribution-id EO4VJPLCDN8HY --paths '/react-uploader/*'",
4949
"test": "jest --runInBand",
5050
"prepare": "husky install"
5151
},

0 commit comments

Comments
 (0)