UNPKG

one

Version:

One is a new React Framework that makes Vite serve both native and web.

11 lines (10 loc) 328 B
import { resolve } from "path"; import { pathToFileURL } from "url.native.js"; var toAbsolute = function (p) { return resolve(process.cwd(), p); }; var toAbsoluteUrl = function (p) { return pathToFileURL(resolve(process.cwd(), p)).href; }; export { toAbsolute, toAbsoluteUrl }; //# sourceMappingURL=toAbsolute.native.js.map