From fc41052665bbd2c490599e482d45ed19038dd277 Mon Sep 17 00:00:00 2001 From: hiyaryan Date: Thu, 15 Feb 2024 20:09:22 -0800 Subject: [PATCH] Update next.config.js to use CommonJS syntax for compatibility. --- next.config.js | 6 ++++++ next.config.mjs | 8 -------- 2 files changed, 6 insertions(+), 8 deletions(-) create mode 100644 next.config.js delete mode 100644 next.config.mjs diff --git a/next.config.js b/next.config.js new file mode 100644 index 0000000..fe500b4 --- /dev/null +++ b/next.config.js @@ -0,0 +1,6 @@ +// Using CommonJS syntax for next.config.js +const nextConfig = { + output: "export", +}; + +module.exports = nextConfig; diff --git a/next.config.mjs b/next.config.mjs deleted file mode 100644 index ec38467..0000000 --- a/next.config.mjs +++ /dev/null @@ -1,8 +0,0 @@ -/** @type {import('next').NextConfig} */ -const nextConfig = { - output: "export", - basePath: "/ryanmeneses", - assetPrefix: "/ryanmeneses/", -}; - -module.exports = nextConfig;