File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 58
58
git clone --depth=1 https://github.com/GUI-for-Cores/GUI.for.SingBox.git
59
59
(
60
60
cd GUI.for.SingBox/frontend
61
- pnpm install && pnpm build-only
61
+ pnpm install
62
+ sed -i "/__ROLLUP_MANUAL_CHUNKS__/c\ rollupOptions: { output: { manualChunks(id) { if (id.includes('node_modules')) { return id.toString().split('node_modules/')[2].split('/')[0]; } } } }," vite.config.ts
63
+ pnpm build-only
62
64
)
63
65
mkdir -p .vitepress/dist/apps
64
66
mv GUI.for.SingBox/frontend/dist .vitepress/dist/apps/gfs
69
71
git clone --depth=1 https://github.com/GUI-for-Cores/GUI.for.Clash.git
70
72
(
71
73
cd GUI.for.Clash/frontend
72
- pnpm install && pnpm build-only
74
+ pnpm install
75
+ sed -i "/__ROLLUP_MANUAL_CHUNKS__/c\ rollupOptions: { output: { manualChunks(id) { if (id.includes('node_modules')) { return id.toString().split('node_modules/')[2].split('/')[0]; } } } }," vite.config.ts
76
+ pnpm build-only
73
77
)
74
78
mkdir -p .vitepress/dist/apps
75
79
mv GUI.for.Clash/frontend/dist .vitepress/dist/apps/gfc
You can’t perform that action at this time.
0 commit comments