UNPKG

lbundle

Version:

Small zero-configuration bundler build on top of Rollup.js and SWC for NPM libraries

11 lines (8 loc) 273 B
import path from 'path'; import { normalizePath } from './path.mjs'; function getUrlOfPartial(url) { const { dir, base } = path.parse(url); return dir ? `${normalizePath(dir)}/_${base}` : `_${base}`; } export { getUrlOfPartial }; //# sourceMappingURL=url.mjs.map