less-loader 11.1.3 → 11.1.4
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 +2 -1
- package/package.json +15 -15
package/dist/utils.js
CHANGED
|
@@ -118,7 +118,8 @@ function createWebpackLessPlugin(loaderContext, implementation) {
|
|
|
118
118
|
loaderContext.addDependency(result);
|
|
119
119
|
return super.loadFile(result, ...args);
|
|
120
120
|
}
|
|
121
|
-
|
|
121
|
+
const absoluteFilename = _path.default.isAbsolute(result.filename) ? result.filename : _path.default.resolve(".", result.filename);
|
|
122
|
+
loaderContext.addDependency(_path.default.normalize(absoluteFilename));
|
|
122
123
|
return result;
|
|
123
124
|
}
|
|
124
125
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "less-loader",
|
|
3
|
-
"version": "11.1.
|
|
3
|
+
"version": "11.1.4",
|
|
4
4
|
"description": "A Less loader for webpack. Compiles Less to CSS.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "webpack-contrib/less-loader",
|
|
@@ -45,31 +45,31 @@
|
|
|
45
45
|
"webpack": "^5.0.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@babel/cli": "^7.
|
|
49
|
-
"@babel/core": "^7.
|
|
50
|
-
"@babel/preset-env": "^7.22.
|
|
51
|
-
"@commitlint/cli": "^17.
|
|
52
|
-
"@commitlint/config-conventional": "^17.
|
|
48
|
+
"@babel/cli": "^7.23.0",
|
|
49
|
+
"@babel/core": "^7.23.0",
|
|
50
|
+
"@babel/preset-env": "^7.22.20",
|
|
51
|
+
"@commitlint/cli": "^17.7.2",
|
|
52
|
+
"@commitlint/config-conventional": "^17.7.0",
|
|
53
53
|
"@webpack-contrib/eslint-config-webpack": "^3.0.0",
|
|
54
|
-
"babel-jest": "^29.
|
|
54
|
+
"babel-jest": "^29.7.0",
|
|
55
55
|
"cross-env": "^7.0.3",
|
|
56
|
-
"cspell": "^6.31.
|
|
56
|
+
"cspell": "^6.31.2",
|
|
57
57
|
"del": "^6.1.1",
|
|
58
58
|
"del-cli": "^4.0.1",
|
|
59
|
-
"eslint": "^8.
|
|
60
|
-
"eslint-config-prettier": "^8.
|
|
61
|
-
"eslint-plugin-import": "^2.
|
|
59
|
+
"eslint": "^8.50.0",
|
|
60
|
+
"eslint-config-prettier": "^8.9.0",
|
|
61
|
+
"eslint-plugin-import": "^2.28.1",
|
|
62
62
|
"husky": "^8.0.3",
|
|
63
|
-
"jest": "^29.
|
|
64
|
-
"less": "^4.
|
|
63
|
+
"jest": "^29.7.0",
|
|
64
|
+
"less": "^4.2.0",
|
|
65
65
|
"less-plugin-glob": "^2.0.2",
|
|
66
|
-
"lint-staged": "^13.2.
|
|
66
|
+
"lint-staged": "^13.2.3",
|
|
67
67
|
"memfs": "^3.5.1",
|
|
68
68
|
"npm-run-all": "^4.1.5",
|
|
69
69
|
"prettier": "^2.8.8",
|
|
70
70
|
"standard-version": "^9.3.1",
|
|
71
71
|
"strip-ansi": "^7.1.0",
|
|
72
|
-
"webpack": "^5.
|
|
72
|
+
"webpack": "^5.88.2"
|
|
73
73
|
},
|
|
74
74
|
"keywords": [
|
|
75
75
|
"webpack",
|