This commit is contained in:
hlolli
2020-02-19 23:40:14 +01:00
parent ef712ff2f5
commit ad56672196
2 changed files with 1 additions and 4 deletions

View File

@@ -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

View File

@@ -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