Merge pull request 'Webview: use importNpmLock' (#1876) from hsjobeki/clan-core:hsjobeki-main into main

This commit is contained in:
clan-bot
2024-08-13 17:21:16 +00:00

View File

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