From e5bc4fe5fc9ee777caabb175c6b896a9abc573fc Mon Sep 17 00:00:00 2001 From: Leon Xu Date: Sat, 30 Dec 2023 12:45:16 -0800 Subject: [PATCH] doc: updated next.config.js file --- next.config.js | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/next.config.js b/next.config.js index 767719f..762ed07 100644 --- a/next.config.js +++ b/next.config.js @@ -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;