castopod/scripts/bundle-prepare.sh

8 lines
272 B
Bash

#!/bin/bash
# install only production dependencies using the --no-dev option
composer install --no-dev --prefer-dist --no-ansi --no-interaction --no-progress --ignore-platform-reqs
# build all production static assets (css, js, images, icons, fonts, etc.)
npm run build