doc: updated next.config.js file

This commit is contained in:
Leon Xu
2023-12-30 12:45:16 -08:00
parent af7cff4ae2
commit e5bc4fe5fc
+10 -2
View File
@@ -1,4 +1,12 @@
/** @type {import('next').NextConfig} */
const nextConfig = {}
const nextConfig = {
experimental: {
serverActions: true,
serverComponentsExternalPackages: ["mongoose"],
},
images: {
domains: ["m.media-amazon.com"],
},
};
module.exports = nextConfig
module.exports = nextConfig;