7584171482
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
20 lines
613 B
TypeScript
20 lines
613 B
TypeScript
import { defineConfig } from "tsup";
|
|
|
|
export default defineConfig({
|
|
// model-catalog gets its own entry point: pure data, no Node dependency, so web can bundle it directly via subpath import.
|
|
entry: [
|
|
"src/index.ts",
|
|
"src/omnimessage/index.ts",
|
|
// Message markers: their own entry so hosts (web/server/cli) can import the marker
|
|
// producers and parsers without pulling the rest of the SDK surface.
|
|
"src/omnimessage/markers/index.ts",
|
|
"src/interfaces.ts",
|
|
"src/state/model-catalog.ts",
|
|
],
|
|
format: ["esm"],
|
|
target: "node20",
|
|
dts: true,
|
|
clean: true,
|
|
sourcemap: true,
|
|
});
|