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

This commit is contained in:
agent-radar
2026-09-02 01:05:41 +08:00
commit 04bac1f6e2
2200 changed files with 489415 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
import { defineConfig } from "tsup"
export default defineConfig({
entry: {
"react/index": "src/react/index.ts",
},
tsconfig: "./tsconfig.react.json",
format: ["esm"],
dts: {
tsconfig: "./tsconfig.react.json",
},
clean: true,
target: "es2022",
platform: "browser",
sourcemap: false,
splitting: false,
treeshake: true,
external: ["react", "react/jsx-runtime"],
esbuildOptions(options) {
options.jsx = "automatic"
options.jsxImportSource = "react"
},
})