Unverified Commit bedeb5bb authored by Defelo's avatar Defelo
Browse files

zipline: prune node_modules

This reduces the closure size from 3.7 GiB to 2.4 GiB.
parent 26f27358
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -85,6 +85,9 @@ stdenv.mkDerivation (finalAttrs: {
  installPhase = ''
    runHook preInstall

    pnpm prune --prod
    find node_modules -xtype l -delete

    mkdir -p $out/{bin,share/zipline}

    cp -r build generated node_modules prisma .next mimes.json code.json package.json $out/share/zipline