html-minifier-next
Version:
Super-configurable and well-tested web page minifier (enhanced successor of HTML Minifier)
7 lines • 341 B
TypeScript
/**
* Create a URL minifier function for the given site context
* @param {string} site - The site base URL (used to compute relative URLs)
* @returns {function(string): string} Minifier function that returns the shortest URL
*/
export function createUrlMinifier(site: string): (arg0: string) => string;
//# sourceMappingURL=urls.d.ts.map