vite-plugin-zephyr
Version:
Vite plugin for Zephyr
51 lines (50 loc) • 1.85 kB
JavaScript
;
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__);
__webpack_require__.d(__webpack_exports__, {
normalizeFilesystemVitePath: ()=>normalizeFilesystemVitePath,
normalizeVitePath: ()=>normalizeVitePath
});
const external_node_path_namespaceObject = require("node:path");
function normalizeVitePath(pathname) {
return pathname.replace(/\\/g, '/');
}
function normalizeFilesystemVitePath(pathname) {
return pathname.split(external_node_path_namespaceObject.sep).join('/');
}
exports.normalizeFilesystemVitePath = __webpack_exports__.normalizeFilesystemVitePath;
exports.normalizeVitePath = __webpack_exports__.normalizeVitePath;
for(var __rspack_i in __webpack_exports__)if (-1 === [
"normalizeFilesystemVitePath",
"normalizeVitePath"
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
Object.defineProperty(exports, '__esModule', {
value: true
});
//# sourceMappingURL=normalize-vite-path.js.map