Function fixToshortPath

  • 将给定的文件路径规整为 a/b/c.js 格式

    Parameters

    • filepath: string = ''
    • rootDir: string = ...

    Returns string