Skip to content

Cannot import files when using a resource query #53

@DimitarNestorov

Description

@DimitarNestorov

image

If I omit ?external it imports the image but inline, forcing me to use data URIs.

I created a repository showcasing the issue: https://github.com/dimitarnestorov/sass-loader-resource-query-test

At first I thought the problem was in sass-loader so I opened an issue there but it was later discovered that extract-loader was the culprit: webpack/sass-loader#615 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions