Skip to content
Snippets Groups Projects
  • DJ Mountney's avatar
    d5359a96
    Proposal for switching desktop-client to vite (#2084) · d5359a96
    DJ Mountney authored
    * 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
    Proposal for switching desktop-client to vite (#2084)
    DJ Mountney authored
    * 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
build-browser 397 B
#!/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