gamja: compress better

This commit is contained in:
Motiejus Jakštys 2024-02-12 18:19:39 +02:00
parent 39eb845316
commit dac9650b65
1 changed files with 3 additions and 3 deletions

View File

@ -39,15 +39,15 @@ buildNpmPackage rec {
passthru = {
data-compressed =
runCommand "soju-data-compressed" {
nativeBuildInputs = [brotli zopfli xorg.lndir];
runCommand "gamja-compressed" {
} ''
mkdir $out
lndir ${gamja}/ $out/
${xorg.lndir}/bin/lndir ${gamja}/ $out/
find $out \
-name '*.css' -or \
-name '*.js' -or \
-name '*.json' -or \
-name '*.map' -or \
-name '*.webmanifest' -or \
-name '*.html' | \