Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/openstatusHQ/openstatus. ๐ซ Status page with uptime monitoring & API monitoring as code ๐ซ openstatus.dev
bun drizzle-orm monitoring monitoring-as-code nextjs observability on-call open-source shadcn-ui status-page statuspage synthetic-monitoring tinybird turso uptime uptime-checker uptime-monitor
Something went wrong. Try again.
724 B ยท 27 lines
TypeScript
12345678910111213141516171819202122232425262728import { defineConfig } from "tsdown";
// Inline everything except the packages that can't be bundled: libsql loads a// native .node addon, and google-gax / google-proto-files (under// @google-cloud/tasks and @google-cloud/pubsub) read files via CJS __dirname.// Those ship as a side-car node_modules.const external = [ "@libsql/client", "libsql", "@google-cloud/tasks", "@google-cloud/pubsub",];
export default defineConfig({ entry: ["src/serve.ts"], format: "esm", platform: "node", target: "node26", fixedExtension: true, dts: false, deps: { neverBundle: external, alwaysBundle: (id) => !external.some((e) => id === e || id.startsWith(`${e}/`)), onlyBundle: false, },});