mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-11 12:43:09 -05:00
* Proof of concept for switching desktop-client to vite * Fix other packages ts tests issues * Update jsx tests to use vitest instead of jest * Inject our global shims properly * Add comment regarding new plugin * Cleanup unnessary change after rebase * Fix inter fonts pathing * Remove manual chunks sizes for now Just set the limit higher * Bring back size compare * Suppress victory warnings * Remove craco config now that it's not used * Add vite basic ssl plugin - This autogenerates self-signed certs in dev mode when HTTPS env is set - Made to match the CRA behaviour * Add release note * Remove warning suppression for victory - Updated to a rollup version that includes the fix
19 lines
397 B
Bash
Executable File
19 lines
397 B
Bash
Executable File
#!/bin/sh -ex
|
|
|
|
ROOT=`dirname $0`
|
|
cd "$ROOT/.."
|
|
|
|
echo "Building the browser..."
|
|
|
|
rm -fr build
|
|
|
|
export IS_GENERIC_BROWSER=1
|
|
export REACT_APP_BACKEND_WORKER_HASH=`ls "$ROOT"/../public/kcab/kcab.worker.*.js | sed 's/.*kcab\.worker\.\(.*\)\.js/\1/'`
|
|
|
|
yarn build
|
|
|
|
rm -fr build-stats
|
|
mkdir build-stats
|
|
mv build/kcab/stats.json build-stats/loot-core-stats.json
|
|
mv ./stats.json build-stats/web-stats.json
|