cssnano
Version:
A modular CSS minifier, built on top of the PostCSS ecosystem.
19 lines • 798 B
TypeScript
/**
* Escape characters for a CSS string token in the given quote context.
* @param {string} value
* @param {string} quote
* @return {string}
*/
export declare function escapeForString(value: string, quote: string): string;
/**
* Normalize and format a url() or src() token value (unquoted or quoted).
* Returns undefined when the URL is a data URL. It keeps the URL itself
* byte-identical, because dot segments, duplicate slashes, host name dots and
* percent-escapes are not guaranteed equivalent for every server or bundler.
* @param {string} decoded
* @param {string} quote
* @param {string} name
* @return {string | undefined}
*/
export declare function normalizeUrlTokenValue(decoded: string, quote: string, name: string): string | undefined;
//# sourceMappingURL=urls.d.ts.map