feat(web-i18n): add es/fr locales and expand switcher locale set
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
import type { NextConfig } from "next"
|
||||
import createNextIntlPlugin from "next-intl/plugin"
|
||||
|
||||
const withNextIntl = createNextIntlPlugin("./src/i18n/request.ts")
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
transpilePackages: ["@cms/ui", "@cms/content", "@cms/db"],
|
||||
transpilePackages: ["@cms/ui", "@cms/content", "@cms/db", "@cms/i18n"],
|
||||
}
|
||||
|
||||
export default nextConfig
|
||||
export default withNextIntl(nextConfig)
|
||||
|
||||
Reference in New Issue
Block a user