sass-loader 16.0.6 → 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/README.md +1 -1
- package/dist/utils.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -894,7 +894,7 @@ Checkout [test/sourceMap](https://github.com/webpack/sass-loader/tree/main/test)
|
|
|
894
894
|
We welcome all contributions!
|
|
895
895
|
If you're new here, please take a moment to review our contributing guidelines before submitting issues or pull requests.
|
|
896
896
|
|
|
897
|
-
[CONTRIBUTING](
|
|
897
|
+
[CONTRIBUTING](https://github.com/webpack/sass-loader?tab=contributing-ov-file#contributing)
|
|
898
898
|
|
|
899
899
|
## License
|
|
900
900
|
|
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);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sass-loader",
|
|
3
|
-
"version": "16.0.
|
|
3
|
+
"version": "16.0.8",
|
|
4
4
|
"description": "Sass loader for webpack",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sass",
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"webpack-dev-server": "^5.2.2"
|
|
99
99
|
},
|
|
100
100
|
"peerDependencies": {
|
|
101
|
-
"@rspack/core": "0.x || 1.
|
|
101
|
+
"@rspack/core": "0.x || ^1.0.0 || ^2.0.0-0",
|
|
102
102
|
"node-sass": "^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0",
|
|
103
103
|
"sass": "^1.3.0",
|
|
104
104
|
"sass-embedded": "*",
|