Fix pathname of frontend build output folder in npm run sync-assets

This commit is contained in:
wiz 2021-01-11 22:05:39 +09:00
parent 217666f455
commit 29e0c337fe
No known key found for this signature in database
GPG Key ID: A394E332255A6173

View File

@ -27,7 +27,7 @@
"serve": "ng serve --proxy-config proxy.conf.json",
"start": "npm run generate-config && npm run sync-assets-dev && ng serve --proxy-config proxy.conf.json",
"build": "npm run generate-config && ng build --prod --localize && npm run sync-assets",
"sync-assets": "node sync-assets.js && rsync -av ./dist/mempool/en-US/resources ./dist/mempool/resources",
"sync-assets": "node sync-assets.js && rsync -av ./dist/mempool/browser/en-US/resources ./dist/mempool/browser/resources",
"sync-assets-dev": "node sync-assets.js dev",
"generate-config": "node generate-config.js",
"test": "ng test",