@poupe/vue
Version:
Vue component library for Poupe UI framework with theme customization and accessibility support
21 lines (20 loc) • 626 B
JavaScript
import e from "tailwind-scrollbar";
const o = /^[A-Za-z]:\//;
function r(t = "") {
return t && t.replace(/\\/g, "/").replace(o, (n) => n.toUpperCase());
}
const s = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/, c = /^[A-Za-z]:$/, a = function(t) {
return s.test(t);
}, i = function(t) {
const n = r(t).replace(/\/$/, "").split("/").slice(0, -1);
return n.length === 1 && c.test(n[0]) && (n[0] += "/"), n.join("/") || (a(t) ? "/" : ".");
}, E = [
e
], l = () => i(new URL(import.meta.url).pathname), _ = () => [
`${l()}/index.mjs`
];
export {
_ as contentGlobs,
l as contentPath,
E as tailwindPlugins
};