package.shared.classes-to-selector.mjs Maven / Gradle / Ivy
function classesToSelector(classes) {
if (classes === void 0) {
classes = '';
}
return `.${classes.trim().replace(/([\.:!+\/])/g, '\\$1') // eslint-disable-line
.replace(/ /g, '.')}`;
}
export { classesToSelector as c };