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 5858 git clone --depth=1 https://github.com/GUI-for-Cores/GUI.for.SingBox.git
5959 (
6060 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
6264 )
6365 mkdir -p .vitepress/dist/apps
6466 mv GUI.for.SingBox/frontend/dist .vitepress/dist/apps/gfs
6971 git clone --depth=1 https://github.com/GUI-for-Cores/GUI.for.Clash.git
7072 (
7173 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
7377 )
7478 mkdir -p .vitepress/dist/apps
7579 mv GUI.for.Clash/frontend/dist .vitepress/dist/apps/gfc
You can’t perform that action at this time.
0 commit comments