the-forest/client/node_modules/clean-css/lib/optimizer/level-1/tidy-at-rule.js
2024-09-17 20:35:18 -04:00

10 lines
177 B
JavaScript

function tidyAtRule(value) {
return value
.replace(/\s+/g, ' ')
.replace(/url\(\s+/g, 'url(')
.replace(/\s+\)/g, ')')
.trim();
}
module.exports = tidyAtRule;