From 9faf7cf404686e8cf19ee51bfc062e7228d2610c Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Tue, 21 Jul 2020 16:12:21 +0300 Subject: [PATCH] Reduce source maps size --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 03ef54e..dcc975f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: