mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-04 07:19:03 +02: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
8 lines
293 B
Bash
8 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
|