feat: prepare for Vercel deployment with PostgreSQL migration
This commit is contained in:
parent
38ab8a260c
commit
ffdc8c5b6c
8 changed files with 97 additions and 27 deletions
|
|
@ -8,7 +8,15 @@ const nextConfig = {
|
|||
},
|
||||
],
|
||||
},
|
||||
serverExternalPackages: ['pdf-parse'],
|
||||
// Enable experimental features for better performance
|
||||
experimental: {
|
||||
serverActions: true,
|
||||
serverComponentsExternalPackages: ['@vercel/postgres'],
|
||||
},
|
||||
// Configure environment variables
|
||||
env: {
|
||||
POSTGRES_URL: process.env.POSTGRES_URL,
|
||||
},
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue