From cb62c7582a16cfe861a97ebaa42f098a5f248770 Mon Sep 17 00:00:00 2001 From: Aamir Azad <82281117+aamirazad@users.noreply.github.com> Date: Wed, 24 Jul 2024 22:49:09 -0400 Subject: [PATCH] fix: use mjs for next config to fix es module errors (#109) ### TL;DR Fixes harmless errors during build of es module somethings. ### What changed? I renamed the `next.config.js` to `next.config.mjs` and updated the tsconfig to match --- next.config.js => next.config.mjs | 0 tsconfig.json | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename next.config.js => next.config.mjs (100%) diff --git a/next.config.js b/next.config.mjs similarity index 100% rename from next.config.js rename to next.config.mjs diff --git a/tsconfig.json b/tsconfig.json index 7a0cf7b..4366ce7 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -37,6 +37,6 @@ "**/*.cjs", "**/*.js", ".next/types/**/*.ts" -, "next.config.js" ], +, "next.config.mjs" ], "exclude": ["node_modules"] }