From 9c0337cd46cb07576bae9cd19a0ddae65a8ae645 Mon Sep 17 00:00:00 2001 From: Rachel Lambda Samuelsson Date: Wed, 17 Jul 2024 14:57:10 +0200 Subject: [PATCH] fix flake --- flake.nix | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index e0c4889..e5f7429 100644 --- a/flake.nix +++ b/flake.nix @@ -13,7 +13,7 @@ name = "rachel-blog-vue"; src = ./.; npmBuildScript = "build-only"; - npmDepsHash = "sha256-rlxTMuYSPMuSwP0zhqc3pEgG0AcuUGS8lofFjR1d9L4="; + npmDepsHash = "sha256-QYmO99RkdhAN+vNOkBqeXYlfyHGyHfRKVVMIWYfZO1A="; installPhase = '' mv ./dist $out ''; diff --git a/package.json b/package.json index a732055..cd5cb97 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "dev": "vite", "build": "run-p type-check \"build-only {@}\" --", "preview": "vite preview", - "build-only": "vite-ssg build", + "build-only": "export NODE_ENV=production && vite-ssg build", "type-check": "vue-tsc --build --force" }, "dependencies": {