UNPKG

one

Version:

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

12 lines (11 loc) 398 B
import { posix } from "path"; function toServerOutputPath(input, outDir) { var normalized = input.replace(/\\/g, "/"); var prefix = `${outDir}/server/`; if (normalized === `${outDir}/server` || normalized.startsWith(prefix)) { return normalized; } return posix.join(outDir, "server", normalized); } export { toServerOutputPath }; //# sourceMappingURL=toServerOutputPath.native.js.map