mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-05-22 11:27:45 +00:00
Release v3.8.1 — feature flags settings page, bracketed combo names, security hardening, multi-driver SQLite
18 lines
511 B
TypeScript
18 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.
|