diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2021-11-11 12:31:14 +0200 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2021-11-11 12:31:14 +0200 |
commit | c1c6ddc2e3fc0d3a183507c6a08ae98d240738ee (patch) | |
tree | 9643f65607b4b88d8280d698972870e508a84b77 /npmPackages | |
parent | 0833889474040bfc0ed73b86adb2b9d7ef7db1f0 (diff) | |
download | npm.nix-c1c6ddc2e3fc0d3a183507c6a08ae98d240738ee.tar.gz |
Preserve pkg.dependencies
Diffstat (limited to 'npmPackages')
-rw-r--r-- | npmPackages/_scripts/strip.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/npmPackages/_scripts/strip.js b/npmPackages/_scripts/strip.js index 526730d..1ac90e7 100644 --- a/npmPackages/_scripts/strip.js +++ b/npmPackages/_scripts/strip.js @@ -28,7 +28,6 @@ for (var i = 0; i < args.length; i++) { pipeThrough((pkg, done) => { switch (phase) { case 'postInstall': - delete pkg.dependencies; // fall throw case 'preInstall': @@ -52,4 +51,4 @@ pipeThrough((pkg, done) => { } done(pkg); -});
\ No newline at end of file +}); |