From 5be359a6f8dd09cc290056a97a9bc132f681ba8a Mon Sep 17 00:00:00 2001 From: titix Date: Wed, 17 Jul 2024 18:11:15 -0300 Subject: [PATCH] fix: vercel deployment --- next.config.mjs | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/next.config.mjs b/next.config.mjs index c8e5580..74dad1c 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -1,9 +1,13 @@ /** @type {import('next').NextConfig} */ +const path = require('path'); + const nextConfig = { - i18n: { - locales: ['en', 'es'], - defaultLocale: 'en', - }, + i18n: { + locales: ['en', 'es'], + defaultLocale: 'en', + }, + localePath: path.resolve('./public/locales'), + outputFileTracing: true }; export default nextConfig;