Open lionello opened 3 years ago
Indeed, in most cases you typically don't want to pollute your deployments with the node_modules/
folder of the project, but sometimes this can be handy -- for example, for experimentation, or when you want to work on a project that ships bundled dependencies.
Perhaps this could be made easier to overriding, or perhaps overriding it could be documented prominently somewhere.
I find myself always editing the generated
node-packages.nix
and changing the lastsrc = ./.;
into:This would also take care of "WARNING: There is a node_modules/ folder in the root directory of the project!"
(That expression uses
lib
, which would get passed in from the composition Nix file)