Reduce source maps size

This commit is contained in:
ErickSkrauch 2020-07-21 16:12:21 +03:00
parent 54c6578c15
commit 9faf7cf404
No known key found for this signature in database
GPG Key ID: 669339FCBB30EE0E

View File

@ -187,6 +187,10 @@ Build:
- rm -rf *.js.map
- find . -name '*.js' | cpio -pdm ../source-maps/
- cd ..
# Cleanup source maps for unimportant bundles
- rm -rf source-maps/locale-*
- rm -rf source-maps/intl*
- rm -rf source-maps/vendors~*
artifacts:
name: "Production build for $CI_COMMIT_BRANCH-$CI_COMMIT_SHORT_SHA"
paths: