sass-loader 16.0.7 → 16.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/utils.js +1 -1
- package/package.json +1 -1
package/dist/utils.js
CHANGED
|
@@ -296,7 +296,7 @@ function getPossibleRequests(url, forWebpackResolver = false, fromImport = false
|
|
|
296
296
|
if (extension === ".css") {
|
|
297
297
|
return fromImport ? [] : [url];
|
|
298
298
|
}
|
|
299
|
-
const dirname = _nodePath.default.dirname(request);
|
|
299
|
+
const dirname = _nodePath.default.dirname(request).replaceAll("\\", "/");
|
|
300
300
|
const normalizedDirname = dirname === "." ? "" : `${dirname}/`;
|
|
301
301
|
const basename = _nodePath.default.basename(request);
|
|
302
302
|
const basenameWithoutExtension = _nodePath.default.basename(request, extension);
|