UNPKG

one

Version:

One is a React framework for web, iOS, and Android apps.

14 lines (11 loc) • 396 B
import { posix } from "node:path"; function toServerOutputPath(input, outDir) { const normalized = input.replace(/\\/g, "/"); const prefix = `${outDir}/server/`; if (normalized === `${outDir}/server` || normalized.startsWith(prefix)) { return normalized; } return posix.join(outDir, "server", normalized); } export { toServerOutputPath }; //# sourceMappingURL=toServerOutputPath.mjs.map