Skip to content
Snippets Groups Projects
Commit 6d367aa3 authored by Ian Baum's avatar Ian Baum
Browse files

Merge branch 'drop-uncompressed-sourcemap' into 'master'

Drop non gzipped sourcemap files

Closes #4488

See merge request gitlab-org/omnibus-gitlab!3592
parents 214b5de2 80dfd763
No related branches found
No related tags found
No related merge requests found
---
title: Removed non-gzipped files for sourcemaps to save on package size
merge_request: 3592
author:
type: changed
Loading
Loading
@@ -171,6 +171,9 @@ build do
delete 'tmp'
delete 'public/uploads'
 
# Drop uncompressed sourcemap files. We will keep the gziped versions.
command "find public/assets/webpack -name '*.map' -type f -print -delete"
# Cleanup after bundle
# Delete all .gem archives
command "find #{install_dir} -name '*.gem' -type f -print -delete"
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment