Skip to content

Commit

Permalink
feat(i18n): set default language to en-US
Browse files Browse the repository at this point in the history
  • Loading branch information
angeloanan committed Mar 5, 2022
1 parent e58c2d6 commit bada5e4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ const withBundleAnalyzer = require('@next/bundle-analyzer')({
const nextConfig = {
reactStrictMode: true,
swcMinify: true,
optimizeFonts: true
optimizeFonts: true,
i18n: {
locales: ['en-US'],
defaultLocale: 'en-US'
}
}

module.exports = withPlugins([[withBundleAnalyzer]], nextConfig)

0 comments on commit bada5e4

Please sign in to comment.