# Stop on errors set -e cd "$(dirname "$0")/.." echo 'export const version =' `jq .version package.json`";" > src/version.ts rm -rf dist NODE_ENV=production npm exec -- tsc NODE_ENV=production npm exec -- rollup -c