
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)