Skip to content

Path separators should be translated on Windows #34

@bblanchon

Description

@bblanchon

On Windows, NPM_FILE_PATTERNS only works if you use backslash separators like so:

NPM_FILE_PATTERNS = {
    "bootstrap": [
        "dist\\css\\bootstrap.min.css",
        "dist\\css\\bootstrap.min.css.map",
        "dist\\js\\bootstrap.bundle.min.js",
        "dist\\js\\bootstrap.bundle.min.js.map",
    ],
}

This is problematic when you want to write portable code.
We should be able to use forward slash on all operating systems.

Let me know if you want me to open a Pull Request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions