path-browserify
path-browserify copied to clipboard
path.relative ignore backslash
On windows, path uses backslash instead of forward slash, it will fail to resolve the relative path if given a path with backslash. A simple fix could be to fix the string passed by user with something such as .replace(/\\/g, "/")