mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-23 01:01:20 +00:00

- replace rollup config with vitejs - use vite dev server during development to take advantage of hot module replacement (HMR) - add vite service using Vite library to load css and js assets - update package.json scripts and remove unnecessary dependencies - update scripts/bundle-prepare.sh closes #107
9 lines
293 B
Bash
9 lines
293 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
|
|
npm run build:static
|