mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-12-23 21:49:54 +05:30
Reduce source maps size
This commit is contained in:
parent
54c6578c15
commit
9faf7cf404
@ -187,6 +187,10 @@ Build:
|
|||||||
- rm -rf *.js.map
|
- rm -rf *.js.map
|
||||||
- find . -name '*.js' | cpio -pdm ../source-maps/
|
- find . -name '*.js' | cpio -pdm ../source-maps/
|
||||||
- cd ..
|
- cd ..
|
||||||
|
# Cleanup source maps for unimportant bundles
|
||||||
|
- rm -rf source-maps/locale-*
|
||||||
|
- rm -rf source-maps/intl*
|
||||||
|
- rm -rf source-maps/vendors~*
|
||||||
artifacts:
|
artifacts:
|
||||||
name: "Production build for $CI_COMMIT_BRANCH-$CI_COMMIT_SHORT_SHA"
|
name: "Production build for $CI_COMMIT_BRANCH-$CI_COMMIT_SHORT_SHA"
|
||||||
paths:
|
paths:
|
||||||
|
Loading…
Reference in New Issue
Block a user