Update 'Minify/minify_and_precompression.sh'
This commit is contained in:
@@ -11,4 +11,7 @@ find $outputfolder/ -type f \( -name '*.html' -o -name '*.js' -o -name '*.json'
|
||||
|
||||
find $outputfolder/ -type f \( -name '*.html' -o -name '*.js' -o -name '*.json' -o -name '*.htm' -o -name '*.css' -o -name '*.xml' -o -name '*.svg' \) -exec gzip -v -k -f --best {} \;
|
||||
|
||||
cp $outputfolder/*.{br,gz} $nginxfolder/
|
||||
cd $outputfolder
|
||||
|
||||
cp --parents `find -name \*.br*` /${nginxfolder}/
|
||||
cp --parents `find -name \*.gz*` /${nginxfolder}/
|
||||
|
||||
Reference in New Issue
Block a user