Syllabus/themes/piratecare/node_modules/tailwindcss/lib/util/escapeClassName.js

19 lines
547 B
JavaScript
Raw Normal View History

2020-03-05 04:10:52 +00:00
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = escapeClassName;
var _postcssSelectorParser = _interopRequireDefault(require("postcss-selector-parser"));
var _get = _interopRequireDefault(require("lodash/get"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function escapeClassName(className) {
const node = _postcssSelectorParser.default.className();
node.value = className;
return (0, _get.default)(node, 'raws.value', node.value);
}