mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-06 04:19:20 +00:00
chore: add env to turbo.json
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -181,4 +181,5 @@ dist
|
||||
*.sqlite
|
||||
*.db
|
||||
|
||||
.turbo/
|
||||
.turbo/
|
||||
.tsup
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
import type { NextConfig } from "next";
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
webpack: (config) => {
|
||||
config.externals.push("better-sqlite3", "@libsql/client")
|
||||
return config;
|
||||
},
|
||||
/* config options here */
|
||||
webpack: (config) => {
|
||||
config.externals.push("better-sqlite3", "@libsql/client");
|
||||
return config;
|
||||
},
|
||||
/* config options here */
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
|
||||
@@ -7,7 +7,13 @@
|
||||
},
|
||||
"build": {
|
||||
"dependsOn": ["^build"],
|
||||
"outputs": ["dist/**", ".next/*"]
|
||||
"outputs": ["dist/**", ".next/*"],
|
||||
"env": [
|
||||
"TURSO_DATABASE_URL",
|
||||
"TURSO_AUTH_TOKEN",
|
||||
"RESEND_API_KEY",
|
||||
"BETTER_AUTH_EMAIL"
|
||||
]
|
||||
},
|
||||
"clean": {},
|
||||
"format": {},
|
||||
|
||||
Reference in New Issue
Block a user