* fix(x402): add tsdown config to build middleware entry point * adds optimizeDeps.exclude and ssr.optimizeDeps.exclude for @emdash-cms/x402 in the integration's Vite config * fix CI typecheck --------- Co-authored-by: Matt Kane <mkane@cloudflare.com>
11 lines
241 B
TypeScript
11 lines
241 B
TypeScript
import { defineConfig } from "tsdown";
|
|
|
|
export default defineConfig({
|
|
entry: ["src/index.ts", "src/middleware.ts"],
|
|
format: ["esm"],
|
|
dts: true,
|
|
clean: true,
|
|
inlineOnly: false,
|
|
external: ["astro:middleware", "virtual:x402/config"],
|
|
});
|