fix(frontend): 修复 manualChunks 循环依赖导致生产白屏
仅拆分 codemirror/xterm/icons 独立库,避免 vendor-charts 与 vendor-react 循环引用。
This commit is contained in:
1 parent
d0cf71b05a
commit
bdf1f41464
219 files changed
+357
-414
No files matched your search
@@ -0,0 +1 @@
|
||||
import{h as s}from"./index-BZzvNKfa.js";const r={getStats:async()=>s.get("/site/stats"),getTasks:async()=>s.get("/site/tasks"),createTask:async t=>s.post("/site/tasks",t),deleteTask:async t=>s.delete(`/site/tasks/${t}`),toggleTask:async(t,e)=>s.put(`/site/tasks/${t}`,{enabled:e})};export{r as s};
|
||||
Reference in new issue
Block a user