UNPKG

vite-plugin-zephyr

Version:

Vite plugin for Zephyr

49 lines (48 loc) • 1.77 kB
"use strict"; var __webpack_require__ = {}; (()=>{ __webpack_require__.d = (exports1, getters, values)=>{ var define = (defs, kind)=>{ for(var key in defs)if (__webpack_require__.o(defs, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, { enumerable: true, [kind]: defs[key] }); }; define(getters, "get"); define(values, "value"); }; })(); (()=>{ __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop); })(); (()=>{ __webpack_require__.r = (exports1)=>{ if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, { value: 'Module' }); Object.defineProperty(exports1, '__esModule', { value: true }); }; })(); var __webpack_exports__ = {}; __webpack_require__.r(__webpack_exports__); function normalizeEntrypoint(entrypoint) { let normalized = entrypoint.trim(); normalized = normalized.split('\\').join('/'); while(normalized.startsWith('./'))normalized = normalized.slice(2); while(normalized.startsWith('/'))normalized = normalized.slice(1); if (normalized.startsWith('dist/')) normalized = normalized.slice(5); return normalized; } __webpack_require__.d(__webpack_exports__, { normalizeEntrypoint: ()=>normalizeEntrypoint }); exports.normalizeEntrypoint = __webpack_exports__.normalizeEntrypoint; for(var __rspack_i in __webpack_exports__)if (-1 === [ "normalizeEntrypoint" ].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i]; Object.defineProperty(exports, '__esModule', { value: true }); //# sourceMappingURL=normalize-entrypoint.js.map