Faster minifier

This commit is contained in:
stefan burke 2024-12-03 21:31:09 +00:00
parent dd86e365b1
commit b207bfdab7

View file

@ -26,7 +26,7 @@ pkgs.stdenv.mkDerivation {
nativeBuildInputs = with pkgs; [
ruby_3_3
html-minifier
minify
];
configurePhase = ''
@ -39,7 +39,7 @@ pkgs.stdenv.mkDerivation {
JEKYLL_ENV=production ${env}/bin/jekyll build --source . --destination _site --trace
echo "Minifying HTML..."
html-minifier --input-dir _site --output-dir _site --collapse-whitespace --file-ext html
minify --all --recursive --output . _site
'';
installPhase = ''