mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-29 10:26:49 -05:00
chore: enable unbuild ts generation
This commit is contained in:
@@ -7,6 +7,7 @@ export default defineBuildConfig({
|
||||
treeShaking: true,
|
||||
},
|
||||
},
|
||||
declaration: true,
|
||||
outDir: "dist",
|
||||
clean: false,
|
||||
failOnWarn: false,
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
"directory": "packages/better-auth"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "unbuild --clean && pnpm build:types",
|
||||
"build": "unbuild --clean",
|
||||
"dev": "concurrently \"unbuild --watch\" \"npm run dev:types\"",
|
||||
"dev:types": "tsc --project tsconfig.declarations.json --watch",
|
||||
"build:types": "tsc --project tsconfig.declarations.json",
|
||||
|
||||
Reference in New Issue
Block a user