@sctg/fontminify
Version:
Minify font seamlessly, font subsetter, webfont (eot, woff, svg) converter.
22 lines (21 loc) • 513 B
TypeScript
/**
* @file css
* @author junmer eltorio
*/
import type { CssOption } from "../index.js";
/**
* Transform font family name
* @callback FontFamilyTransform
* @param {Object} font info object
* @param {ttfObject} ttf ttfObject
* @return {string} font family name
*/
/**
* css fontmin plugin
*
* @param {(string|FontFamilyTransform)=} opts.fontFamily fontFamily
* @return {Object} stream.Transform instance
* @api public
*/
declare const _default: (_opts?: CssOption) => any;
export default _default;