import { defineConfig } from "tsup"; // ES modules only (openid-client is ESM only), types included. export default defineConfig({ entry: ["src/index.ts"], format: ["esm"], dts: true, sourcemap: true, clean: true, target: "es2022", external: ["@crosscode/contracts", "openid-client"], });