postcss-minify-font-values
Version:
Minify font declarations with PostCSS
18 lines • 706 B
TypeScript
export = pluginCreator;
/** @typedef {{removeAfterKeyword?: boolean, removeDuplicates?: boolean, removeQuotes?: boolean | ((prop: string) => '' | 'font' | 'font-family' | 'font-weight')}} Options */
/**
* @type {import('postcss').PluginCreator<Options>}
* @param {Options} opts
* @return {import('postcss').Plugin}
*/
declare function pluginCreator(opts: Options): import('postcss').Plugin;
declare namespace pluginCreator {
export { postcss, Options };
}
type Options = {
removeAfterKeyword?: boolean;
removeDuplicates?: boolean;
removeQuotes?: boolean | ((prop: string) => '' | 'font' | 'font-family' | 'font-weight');
};
declare var postcss: true;
//# sourceMappingURL=index.d.ts.map