auto-updated after build

This commit is contained in:
stefan burke 2023-10-04 04:05:18 +01:00
parent c52442e181
commit a0b1fe3c14
8 changed files with 5 additions and 4 deletions

0
build-and-push Normal file → Executable file
View file

View file

@ -15,14 +15,13 @@
"watch:eleventy": "eleventy --serve",
"build:rm": "rm -rf _site",
"build:sass": "sass --no-source-map style:_site/style",
"build:minify_css": "lightningcss --minify --targets '> 0.25%, not IE 11' _site/style/*.css -o _site/style/*.css",
"build:eleventy": "eleventy",
"build:minify_html": "html-minifier --input-dir _site --output-dir _site --collapse-whitespace --file-ext html",
"start": "npm-run-all build:sass --parallel watch:*",
"build": "npm-run-all build:rm build:sass build:minify_css build:eleventy build:minify_html"
"build": "npm-run-all build:rm build:sass build:eleventy build:minify_html"
},
"browserslist": [
"> 0.25%",
"not IE 11"
]
}
}

View file

Before

Width:  |  Height:  |  Size: 101 KiB

After

Width:  |  Height:  |  Size: 101 KiB

View file

Before

Width:  |  Height:  |  Size: 96 KiB

After

Width:  |  Height:  |  Size: 96 KiB

View file

Before

Width:  |  Height:  |  Size: 70 KiB

After

Width:  |  Height:  |  Size: 70 KiB

View file

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 76 KiB

View file

Before

Width:  |  Height:  |  Size: 350 KiB

After

Width:  |  Height:  |  Size: 350 KiB

View file

@ -3,7 +3,9 @@ with (import <nixpkgs> {});
buildInputs = [
bundler
ruby
bun
nodejs
nodePackages_latest.npm
nodePackages_latest.html-minifier
];
shellHook = ''
mkdir -p .nix-gems