Webview: use importNpmLock

This commit is contained in:
Johannes Kirschbauer
2024-08-13 19:00:19 +02:00
parent de6865428d
commit 887c5ecb0a

View File

@@ -14,12 +14,8 @@
src = ./app; src = ./app;
npmDeps = pkgs.fetchNpmDeps { npmDeps = pkgs.importNpmLock { npmRoot = ./app; };
src = ./app; npmConfigHook = pkgs.importNpmLock.npmConfigHook;
hash = "sha256-n9IXcfCpydykoYD+P/YNtNIwrvgJTZND0kg7oXBfmJ0=";
};
# The prepack script runs the build script, which we'd rather do in the build phase.
npmPackFlags = [ "--ignore-scripts" ];
preBuild = '' preBuild = ''
mkdir -p api mkdir -p api