mirror of
https://github.com/vercel/commerce.git
synced 2025-05-19 07:56:59 +00:00
6 lines
180 B
TypeScript
6 lines
180 B
TypeScript
import { getRequestConfig } from 'next-intl/server';
|
|
|
|
export default getRequestConfig(async ({ locale }) => ({
|
|
messages: (await import(`./messages/${locale}.json`)).default
|
|
}));
|