Z mobile bottom nav, purple theme, correct boot splash/title on build:z, Z-only routes in Online Bank, shared settlement state, liquidity panel, and treasury branding without OMNL dead links. Co-authored-by: Cursor <[email protected]>
17 lines
496 B
JavaScript
17 lines
496 B
JavaScript
import { spawnSync } from 'node:child_process';
|
|
import path from 'node:path';
|
|
import { fileURLToPath } from 'node:url';
|
|
|
|
const root = path.join(path.dirname(fileURLToPath(import.meta.url)), '..');
|
|
const viteBin = path.join(root, 'node_modules', 'vite', 'bin', 'vite.js');
|
|
|
|
process.env.VITE_ECOSYSTEM = 'z';
|
|
|
|
const result = spawnSync(
|
|
process.execPath,
|
|
['--max-old-space-size=4096', viteBin, 'build'],
|
|
{ stdio: 'inherit', env: process.env, cwd: root },
|
|
);
|
|
|
|
process.exit(result.status ?? 1);
|