mirror of
https://github.com/better-auth/better-auth.git
synced 2026-08-02 11:03:49 -05:00
25 lines
584 B
TypeScript
25 lines
584 B
TypeScript
import { defineConfig } from "tsdown";
|
|
|
|
export default defineConfig({
|
|
dts: { build: true, incremental: true },
|
|
format: ["esm"],
|
|
entry: [
|
|
"./src/index.ts",
|
|
"./src/db/index.ts",
|
|
"./src/db/adapter/index.ts",
|
|
"./src/async_hooks/index.ts",
|
|
"./src/async_hooks/pure.index.ts",
|
|
"./src/context/index.ts",
|
|
"./src/env/index.ts",
|
|
"./src/oauth2/index.ts",
|
|
"./src/api/index.ts",
|
|
"./src/social-providers/index.ts",
|
|
"./src/utils/*.ts",
|
|
"!./src/utils/*.test.ts",
|
|
"./src/error/index.ts",
|
|
],
|
|
external: ["@better-auth/core/async_hooks"],
|
|
unbundle: true,
|
|
clean: true,
|
|
});
|