UNPKG

cz-typography

Version:

Universal Czech typography fixer for JavaScript, React, Next.js, and any SSR framework. Non-breaking spaces after one-letter prepositions, units, dates, ordinals and more.

18 lines (15 loc) 568 B
import { F as FixCzechOptions } from '../fixCzech-CCow6rWW.cjs'; /** * Wrap a Next.js config so that source files are passed through the * cz-typography webpack loader at build time, rewriting static JSX text * literals. * * @param {object} nextConfig * @param {{ options?: import('../fixCzech.js').FixCzechOptions, include?: RegExp, exclude?: RegExp }} [loaderOptions] */ declare function withCzTypography(nextConfig?: object, loaderOptions?: { options?: FixCzechOptions; include?: RegExp; exclude?: RegExp; }): any; export { withCzTypography };