css-loader 5.0.0 → 5.0.1
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/CHANGELOG.md +7 -0
- package/dist/utils.js +1 -1
- package/package.json +18 -18
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [5.0.1](https://github.com/webpack-contrib/css-loader/compare/v5.0.0...v5.0.1) (2020-11-04)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* sources in source maps have relative paths ([#1219](https://github.com/webpack-contrib/css-loader/issues/1219)) ([3229b3c](https://github.com/webpack-contrib/css-loader/commit/3229b3cca3cb5d762daeff57239a965b06fd7593))
|
|
11
|
+
|
|
5
12
|
## [5.0.0](https://github.com/webpack-contrib/css-loader/compare/v4.3.0...v5.0.0) (2020-10-13)
|
|
6
13
|
|
|
7
14
|
|
package/dist/utils.js
CHANGED
|
@@ -448,7 +448,7 @@ function normalizeSourceMapForRuntime(map, loaderContext) {
|
|
|
448
448
|
const absoluteSource = _path.default.resolve(resourceDirname, source);
|
|
449
449
|
|
|
450
450
|
const contextifyPath = normalizePath(_path.default.relative(loaderContext.rootContext, absoluteSource));
|
|
451
|
-
return `webpack
|
|
451
|
+
return `webpack://./${contextifyPath}`;
|
|
452
452
|
});
|
|
453
453
|
}
|
|
454
454
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "css-loader",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"description": "css loader module for webpack",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "webpack-contrib/css-loader",
|
|
@@ -43,11 +43,11 @@
|
|
|
43
43
|
"webpack": "^4.27.0 || ^5.0.0"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"camelcase": "^6.
|
|
46
|
+
"camelcase": "^6.2.0",
|
|
47
47
|
"cssesc": "^3.0.0",
|
|
48
48
|
"icss-utils": "^5.0.0",
|
|
49
49
|
"loader-utils": "^2.0.0",
|
|
50
|
-
"postcss": "^8.1.
|
|
50
|
+
"postcss": "^8.1.4",
|
|
51
51
|
"postcss-modules-extract-imports": "^3.0.0",
|
|
52
52
|
"postcss-modules-local-by-default": "^4.0.0",
|
|
53
53
|
"postcss-modules-scope": "^3.0.0",
|
|
@@ -57,42 +57,42 @@
|
|
|
57
57
|
"semver": "^7.3.2"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@babel/cli": "^7.
|
|
61
|
-
"@babel/core": "^7.
|
|
62
|
-
"@babel/preset-env": "^7.
|
|
60
|
+
"@babel/cli": "^7.12.1",
|
|
61
|
+
"@babel/core": "^7.12.3",
|
|
62
|
+
"@babel/preset-env": "^7.12.1",
|
|
63
63
|
"@commitlint/cli": "^11.0.0",
|
|
64
64
|
"@commitlint/config-conventional": "^11.0.0",
|
|
65
65
|
"@webpack-contrib/defaults": "^6.3.0",
|
|
66
66
|
"@webpack-contrib/eslint-config-webpack": "^3.0.0",
|
|
67
|
-
"babel-jest": "^26.
|
|
67
|
+
"babel-jest": "^26.6.3",
|
|
68
68
|
"cross-env": "^7.0.2",
|
|
69
69
|
"del": "^6.0.0",
|
|
70
70
|
"del-cli": "^3.0.1",
|
|
71
|
-
"es-check": "^5.1.
|
|
72
|
-
"eslint": "^7.
|
|
73
|
-
"eslint-config-prettier": "^6.
|
|
71
|
+
"es-check": "^5.1.2",
|
|
72
|
+
"eslint": "^7.12.1",
|
|
73
|
+
"eslint-config-prettier": "^6.15.0",
|
|
74
74
|
"eslint-plugin-import": "^2.22.1",
|
|
75
|
-
"file-loader": "^6.
|
|
75
|
+
"file-loader": "^6.2.0",
|
|
76
76
|
"husky": "^4.3.0",
|
|
77
|
-
"jest": "^26.
|
|
77
|
+
"jest": "^26.6.3",
|
|
78
78
|
"less": "^3.12.2",
|
|
79
79
|
"less-loader": "^7.0.2",
|
|
80
|
-
"lint-staged": "^10.
|
|
80
|
+
"lint-staged": "^10.5.1",
|
|
81
81
|
"memfs": "^3.2.0",
|
|
82
|
-
"mini-css-extract-plugin": "^1.
|
|
82
|
+
"mini-css-extract-plugin": "^1.2.1",
|
|
83
83
|
"npm-run-all": "^4.1.5",
|
|
84
84
|
"postcss-loader": "^4.0.4",
|
|
85
85
|
"postcss-preset-env": "^6.7.0",
|
|
86
86
|
"prettier": "^2.1.2",
|
|
87
|
-
"sass": "^1.
|
|
88
|
-
"sass-loader": "^10.0.
|
|
87
|
+
"sass": "^1.28.0",
|
|
88
|
+
"sass-loader": "^10.0.5",
|
|
89
89
|
"standard-version": "^9.0.0",
|
|
90
90
|
"strip-ansi": "^6.0.0",
|
|
91
91
|
"style-loader": "^2.0.0",
|
|
92
92
|
"stylus": "^0.54.8",
|
|
93
|
-
"stylus-loader": "^4.
|
|
93
|
+
"stylus-loader": "^4.2.0",
|
|
94
94
|
"url-loader": "^4.1.1",
|
|
95
|
-
"webpack": "^5.
|
|
95
|
+
"webpack": "^5.4.0"
|
|
96
96
|
},
|
|
97
97
|
"keywords": [
|
|
98
98
|
"webpack",
|