UNPKG

one

Version:

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

14 lines (11 loc) • 393 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