vikunja: fix frontend build after nodejs update to 22.12

In NodeJS 22.12.0 require(esm) was introduced which broke tailwindcss < 3.4.17

fixes #375520
This commit is contained in:
Leona Maroni
2025-01-22 00:19:57 +01:00
parent 1cd1cb9db8
commit d6b0a4ce9f
2 changed files with 3065 additions and 1 deletions
File diff suppressed because it is too large Load Diff
+5 -1
View File
@@ -23,16 +23,20 @@ let
pname = "vikunja-frontend";
inherit version src;
patches = [
./nodejs-22.12-tailwindcss-update.patch
];
sourceRoot = "${finalAttrs.src.name}/frontend";
pnpmDeps = pnpm.fetchDeps {
inherit (finalAttrs)
pname
version
patches
src
sourceRoot
;
hash = "sha256-D2dOyYsdsNV1ZSQdjpy6rfoix7yBACEHj/2XyHb7HWE=";
hash = "sha256-94ZlywOZYmW/NsvE0dtEA81MeBWGUrJsBXTUauuOmZM=";
};
nativeBuildInputs = [