cleanup
This commit is contained in:
parent
ef712ff2f5
commit
ad56672196
@ -240,10 +240,7 @@ stdenv.mkDerivation {
|
||||
|
||||
|
||||
# Step 4: Bunde javascript
|
||||
echo 1111
|
||||
cat scripts/bundle.js
|
||||
NODE_ENV=production node scripts/bundle.js
|
||||
echo 2222
|
||||
node scripts/bundleForeign.js
|
||||
|
||||
# Step 5: Backup resources
|
||||
|
@ -363,7 +363,7 @@ let
|
||||
|
||||
npm ${forceOfflineFlag} --nodedir=${nodeSources} ${npmFlags} ${stdenv.lib.optionalString production "--production"} rebuild
|
||||
|
||||
if [ "$dontNpmInstall" != "1" ]
|
||||
if [ "''${dontNpmInstall-}" != "1" ]
|
||||
then
|
||||
# NPM tries to download packages even when they already exist if npm-shrinkwrap is used.
|
||||
rm -f npm-shrinkwrap.json
|
||||
|
Loading…
Reference in New Issue
Block a user