Files
OmniRoute/@omniroute/opencode-provider/tsup.config.ts
backryun 62fce921b5 chore: update node dependencies and runtime support (#2453)
Integrated into release/v3.8.1
2026-05-20 21:23:47 -03:00

19 lines
511 B
TypeScript

import { defineConfig } from "tsup";
export default defineConfig({
entry: ["src/index.ts"],
format: ["esm", "cjs"],
dts: true,
clean: true,
sourcemap: false,
splitting: false,
treeshake: true,
target: "node22",
outDir: "dist",
minify: false,
});
// CJS consumers should prefer named imports (`require(pkg).createOmniRouteProvider`).
// The `default` export is also exposed for ESM ergonomics, which makes tsup warn
// about mixed exports — that's expected and harmless for this package.