Skip to content

Commit 7fe9419

Browse files
authored
Deploy sourcemaps (#2356)
1 parent 77d16d4 commit 7fe9419

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

scripts/deploy-app.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@ aws s3 cp dist/ "s3://${APP_BUCKET}/" \
2727
--exclude "*" \
2828
--include "*.js"
2929

30+
aws s3 cp dist/ "s3://${APP_BUCKET}/" \
31+
--recursive \
32+
--content-type "application/json" \
33+
--cache-control "public, max-age=31536000" \
34+
--exclude "*" \
35+
--include "*.map"
36+
3037
aws s3 cp dist/ "s3://${APP_BUCKET}/" \
3138
--recursive \
3239
--content-type "text/plain" \

scripts/deploy-graphiql.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@ aws s3 cp dist/ s3://graphiql.medplum.com/ \
3030
--exclude "*" \
3131
--include "*.js"
3232

33+
aws s3 cp dist/ s3://graphiql.medplum.com/ \
34+
--recursive \
35+
--content-type "application/json" \
36+
--cache-control "public, max-age=31536000" \
37+
--exclude "*" \
38+
--include "*.map"
39+
3340
aws s3 cp dist/ s3://graphiql.medplum.com/ \
3441
--region us-east-1 \
3542
--recursive \

0 commit comments

Comments
 (0)