BASEDIR=$(dirname "$0") npx webpack --mode production --progress || exit $? rsync -azv $BASEDIR/public/* system-praktyk@kadet.net:~/stg/front rsync -azv $BASEDIR/build/* system-praktyk@kadet.net:~/stg/front