This commit is contained in:
Joseph J Helfenbein
2025-01-25 00:55:08 -05:00
parent e79aeffdc3
commit e3aff8c229
7 changed files with 324 additions and 2 deletions

View File

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