Update Next Config

This commit is contained in:
Sir Blob
2025-01-25 01:25:26 -05:00
parent af6c2a5ba0
commit 6776008e02
4 changed files with 158 additions and 85 deletions

View File

@@ -1,16 +1,6 @@
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
experimental: {
esmExternals: "loose",
serverComponentsExternalPackages: ["mongoose"]
},
webpack: (config) => {
config.experiments = {
topLevelAwait: true
};
return config;
},
};
export default nextConfig;