chore: add env to turbo.json

This commit is contained in:
Bereket Engida
2024-09-17 11:48:15 +03:00
parent 38bf8d115c
commit 33b16aa10b
3 changed files with 14 additions and 7 deletions

3
.gitignore vendored
View File

@@ -181,4 +181,5 @@ dist
*.sqlite
*.db
.turbo/
.turbo/
.tsup

View File

@@ -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;

View File

@@ -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": {},