UNPKG

next-intlayer

Version:

Simplify internationalization i18n in Next.js with context providers, hooks, locale detection, and multilingual content integration.

14 lines 412 B
import type { NextConfig } from 'next'; /** * A Next.js plugin that adds the intlayer configuration to the webpack configuration * and sets the environment variables * * Usage: * * ```ts * // next.config.js * export default withIntlayer(nextConfig) * ``` */ export declare const withIntlayer: <T extends Partial<NextConfig>>(nextConfig?: T) => NextConfig & T; //# sourceMappingURL=withIntlayer.d.ts.map