mirror of
https://github.com/vercel/commerce.git
synced 2025-05-18 23:46:58 +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
|
|
}));
|