From 0b50571881959ffa3e283e1ad604e30fb7b702bb Mon Sep 17 00:00:00 2001 From: Charles Kornoelje <33156025+charkour@users.noreply.github.com> Date: Sun, 3 Sep 2023 22:52:38 -0400 Subject: [PATCH] switch to json or mjs --- __mocks__/zustand/{index.js => index.mjs} | 0 examples/web/.eslintrc.js | 3 --- examples/web/.eslintrc.json | 3 +++ examples/web/{next.config.js => next.config.mjs} | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) rename __mocks__/zustand/{index.js => index.mjs} (100%) delete mode 100644 examples/web/.eslintrc.js create mode 100644 examples/web/.eslintrc.json rename examples/web/{next.config.js => next.config.mjs} (60%) diff --git a/__mocks__/zustand/index.js b/__mocks__/zustand/index.mjs similarity index 100% rename from __mocks__/zustand/index.js rename to __mocks__/zustand/index.mjs diff --git a/examples/web/.eslintrc.js b/examples/web/.eslintrc.js deleted file mode 100644 index e351352..0000000 --- a/examples/web/.eslintrc.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = { - root: true, -}; diff --git a/examples/web/.eslintrc.json b/examples/web/.eslintrc.json new file mode 100644 index 0000000..afd435d --- /dev/null +++ b/examples/web/.eslintrc.json @@ -0,0 +1,3 @@ +{ + "root": false +} diff --git a/examples/web/next.config.js b/examples/web/next.config.mjs similarity index 60% rename from examples/web/next.config.js rename to examples/web/next.config.mjs index 9b640d7..0e1c301 100644 --- a/examples/web/next.config.js +++ b/examples/web/next.config.mjs @@ -1,7 +1,7 @@ /** * @type {import('next').NextConfig} */ -module.exports = { +const nextConfig = { reactStrictMode: true, - transpilePackages: ["ui"], }; +export default nextConfig;