From cd00a3520486775a073e3dbc8043785f6db62309 Mon Sep 17 00:00:00 2001 From: WilliButz Date: Mon, 11 Sep 2023 22:03:11 +0200 Subject: [PATCH] flake: remove node_modules/.cache in output (reduces closure size by ~250MiB) --- flake.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/flake.nix b/flake.nix index 06987c5..f9a0cba 100644 --- a/flake.nix +++ b/flake.nix @@ -75,6 +75,7 @@ "npm run build-docs-only" ]; installPhase = '' + rm -r ../website/node_modules/.cache mv -v ../website $out ''; };