diff --git a/next-i18next.config.js b/next-i18next.config.js deleted file mode 100644 index e503276..0000000 --- a/next-i18next.config.js +++ /dev/null @@ -1,9 +0,0 @@ -module.exports = { - i18n: { - defaultLocale: "it-IT", - locales: [ - "it-IT", - ], - localePath: path.resolve('./public/locales'), - } -} \ No newline at end of file diff --git a/next.config.js b/next.config.js index b37ed1e..2213e76 100644 --- a/next.config.js +++ b/next.config.js @@ -1,9 +1,15 @@ -import i18n from "./next-i18next.config" +const path = require("path") /** @type {import('next').NextConfig} */ const nextConfig = { reactStrictMode: true, - i18n, + i18n: { + defaultLocale: "it-IT", + locales: [ + "it-IT", + ], + localePath: path.resolve('./public/locales'), + } } module.exports = nextConfig