castopod/scripts/bundle-prepare.sh
Yassine Doghri 34777598dd build: replace npm with pnpm + add Dockerfile for ci
update php and js dependencies to latest
2023-02-22 14:36:56 +00:00

10 lines
300 B
Bash

#!/bin/sh
set -e
# 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.)
pnpm run build
pnpm run build:static