language implementation MERMS
This commit is contained in:
@@ -4,6 +4,14 @@ const path = require('path')
|
||||
const nextConfig = {
|
||||
reactStrictMode: true,
|
||||
outputFileTracingRoot: path.join(__dirname),
|
||||
i18n: {
|
||||
locales: ['en', 'fr', 'es'],
|
||||
defaultLocale: 'en',
|
||||
},
|
||||
webpack: (config) => {
|
||||
config.resolve.alias['next-intl'] = path.join(__dirname, 'utils/next-intl-compat.js')
|
||||
return config
|
||||
},
|
||||
}
|
||||
|
||||
module.exports = nextConfig
|
||||
|
||||
Reference in New Issue
Block a user