Skip to content

Support resolving Sass modules without ~ in url #187

@kherock

Description

@kherock

sass-loader has been recommending against using ~ in URLs since v11. Since then, some sass projects I use have been dropping the ~, and I can't use them without writing my own importer. Writing an importer which matches the code in this project isn't a small undertaking. As far as I'm aware, the only code in question is here:

if (!isModule(url)) return null;

I think it would be better to expose this behavior as an option, but I think that implementation should be straightforward as well.

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