mirror of
https://github.com/lobehub/lobehub.git
synced 2026-09-20 04:56:13 +08:00
93213a51fb
* ⚡️ perf(vite): make route chunk warmup demand-aware * ⚡️ perf(spa): preload routes through shared lazy loaders * ⬆️ chore(deps): align UI editor and Shiki versions * ⚡️ perf(pwa): cache lazy code on demand * ⚡️ perf(spa): reduce initial JavaScript dependency closure * ⚡️ perf(desktop): simplify renderer startup * ⚡️ perf: refine imperative modal loading boundaries * 🐛 fix(ci): restore production SPA startup * ♻️ refactor: share deferred PWA cache rules * 🐛 fix(ci): execute SPA copy entry with Node
10 lines
215 B
TypeScript
10 lines
215 B
TypeScript
import path from 'node:path';
|
|
|
|
import { copySpaBuild } from './copySpaBuildCore.ts';
|
|
|
|
const root = process.argv[2]
|
|
? path.resolve(process.argv[2])
|
|
: path.resolve(import.meta.dirname, '..');
|
|
|
|
copySpaBuild(root);
|