UNPKG

@dxtmisha/scripts

Version:

Development scripts and CLI tools for DXT UI projects - automated component generation, library building and project management tools

13 lines (11 loc) 547 B
import requirePath from 'path' /** * Convert path to use standard separators for the current OS. * * Преобразовать путь для использования стандартных разделителей для текущей ОС. * @param path The input path string/ Входная строка пути * @returns The path with standard separators/ Путь со стандартными разделителями */ export function toPathStandardSep(path: string): string { return path.replace('/', requirePath.sep) }