diff --git a/production/mempool-install-all b/production/mempool-install-all index 605044deb..47f38dc70 100755 --- a/production/mempool-install-all +++ b/production/mempool-install-all @@ -10,13 +10,13 @@ do cp "../production/mempool-config.${site}.json" "mempool-config.json" touch cache.json - npm install --only=prod + npm install npm run build if [ "${site}" = "mainnet" ] then cd "${HOME}/${site}/frontend/" - npm install --only=prod + npm install npm run build rsync -av ./dist/mempool/* "${HOME}/public_html/${site}/" fi diff --git a/production/mempool-upgrade-all b/production/mempool-upgrade-all index 57d725aee..b5a9b9512 100755 --- a/production/mempool-upgrade-all +++ b/production/mempool-upgrade-all @@ -34,13 +34,13 @@ do if [ "${site}" = "mainnet" ] then cd "$HOME/${site}/frontend" - npm install --only=prod + npm install npm run build rsync -av ./dist/mempool/* "${HOME}/public_html/${site}/" fi cd "$HOME/${site}/backend" - npm install --only=prod + npm install npm run build done