lbundle
Version:
Small zero-configuration bundler build on top of Rollup.js and SWC for NPM libraries
14 lines (11 loc) • 378 B
JavaScript
import path from 'path';
function normalizePath() {
for(var _len = arguments.length, paths = new Array(_len), _key = 0; _key < _len; _key++){
paths[_key] = arguments[_key];
}
const f = path.join(...paths).replaceAll('\\', '/');
if (/^\.[/\\]/.test(paths[0])) return `./${f}`;
return f;
}
export { normalizePath };
//# sourceMappingURL=path.mjs.map