CSS fix
This commit is contained in:
parent
e20689dfe6
commit
7e3635a3c2
|
@ -44,7 +44,7 @@ function minifyCSS {
|
|||
echo "Minify CSS files in $dir"
|
||||
local outFile=$dir/100_lam.${VERSION}.min.css
|
||||
local files=`ls $dir/*.css`
|
||||
cat $files | cleancss -o $outFile
|
||||
cat $files | cleancss --skip-rebase -o $outFile
|
||||
rm $files
|
||||
# add final new line to supress Debian warnings
|
||||
echo "" >> $outFile
|
||||
|
|
|
@ -17,7 +17,7 @@ fi
|
|||
files=`ls style/*.css`
|
||||
outFile=style/100_lam.${SOURCE_DATE_EPOCH}.min.css
|
||||
if [ ! -e $outFile ]; then
|
||||
cat $files | cleancss -o ${outFile}
|
||||
cat $files | cleancss --skip-rebase -o ${outFile}
|
||||
rm $files
|
||||
# add final new line to supress Debian warnings
|
||||
echo "" >> $outFile
|
||||
|
|
Loading…
Reference in New Issue