源码快照 @ 2026-09-02 (source-only, 剔除非源码素材)

This commit is contained in:
agent-radar committed 2026-09-02 01:05:41 +08:00
commit 04bac1f6e2
2200 files changed
+489415

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
import react from "@vitejs/plugin-react"
import { defineConfig } from "vite"
import { viteSingleFile } from "vite-plugin-singlefile"
const app = (process.env.OPENWORK_MCP_APP ?? "skill-created").trim()
export default defineConfig({
plugins: [react(), viteSingleFile({ removeViteModuleLoader: true })],
build: {
cssCodeSplit: false,
// The build script stages each app into its own scratch outDir and
// renames artifacts into dist atomically, so nothing here may clear
// shared output that concurrent consumers are importing.
emptyOutDir: true,
modulePreload: { polyfill: false },
rollupOptions: {
input: `${app}.html`,
},
},
})