From effc9ce2e66c9024b3e63c04083b457b7b542004 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Sun, 22 Feb 2026 21:06:51 +0200 Subject: [PATCH] doc/javascript: update link to plausible example --- doc/languages-frameworks/javascript.section.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/languages-frameworks/javascript.section.md b/doc/languages-frameworks/javascript.section.md index 1cbc02a69cf1..37091d94cf66 100644 --- a/doc/languages-frameworks/javascript.section.md +++ b/doc/languages-frameworks/javascript.section.md @@ -89,6 +89,7 @@ Exceptions to this rule are: Each tool has an abstraction to just build the node_modules (dependencies) directory. You can always use the `stdenv.mkDerivation` with the node_modules to build the package (symlink the node_modules directory and then use the package build command). The node_modules abstraction can be also used to build some web framework frontends. +For an example of this see how [plausible](https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/pl/plausible/package.nix) is built. `mkYarnModules` to make the derivation containing node_modules. Then when building the frontend you can just symlink the node_modules directory. ## Tool-specific instructions {#javascript-tool-specific}