(...paths: string[])
| 249 | * @returns a resolved path! |
| 250 | */ |
| 251 | export function resolve(...paths: string[]): string { |
| 252 | /** |
| 253 | * When normalizing, we should _not_ attempt to relativize the path returned by the native Node `resolve` method. When |
| 254 | * calculating the path from each of the string-based parts, Node does not prepend './' to the calculated path. |
| 255 | */ |
| 256 | return normalizePath(path.resolve(...paths), false); |
| 257 | } |
| 258 | |
| 259 | /** |
| 260 | * A wrapped version of node.js' {@link path.normalize} which adds our custom |