18 lines
406 B
JavaScript
18 lines
406 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
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
|