This commit is contained in:
+5
-4
@@ -1,12 +1,13 @@
|
||||
import type { NextConfig } from "next";
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
// Enable standalone output for Docker deployment
|
||||
// This creates a minimal server.js that doesn't require full node_modules
|
||||
output: 'standalone',
|
||||
// Turso ships a platform-native Node module and must remain a runtime dependency.
|
||||
serverExternalPackages: ['@tursodatabase/database'],
|
||||
|
||||
// Turbopack configuration
|
||||
turbopack: {},
|
||||
turbopack: {
|
||||
root: process.cwd(),
|
||||
},
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
|
||||
Reference in New Issue
Block a user