css-loader 6.10.0 → 6.11.0

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.
Files changed (2) hide show
  1. package/README.md +9 -0
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -487,6 +487,15 @@ To import a local classname from another module.
487
487
 
488
488
  To import from multiple modules use multiple `composes:` rules.
489
489
 
490
+ ```css
491
+ :local(.className) {
492
+ composes: edit highlight from "./edit.css", button from "module/button.css", classFromThisModule;
493
+ background: red;
494
+ }
495
+ ```
496
+
497
+ or
498
+
490
499
  ```css
491
500
  :local(.className) {
492
501
  composes: edit highlight from "./edit.css";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "css-loader",
3
- "version": "6.10.0",
3
+ "version": "6.11.0",
4
4
  "description": "css loader module for webpack",
5
5
  "license": "MIT",
6
6
  "repository": "webpack-contrib/css-loader",
@@ -57,9 +57,9 @@
57
57
  "dependencies": {
58
58
  "icss-utils": "^5.1.0",
59
59
  "postcss": "^8.4.33",
60
- "postcss-modules-extract-imports": "^3.0.0",
61
- "postcss-modules-local-by-default": "^4.0.4",
62
- "postcss-modules-scope": "^3.1.1",
60
+ "postcss-modules-extract-imports": "^3.1.0",
61
+ "postcss-modules-local-by-default": "^4.0.5",
62
+ "postcss-modules-scope": "^3.2.0",
63
63
  "postcss-modules-values": "^4.0.0",
64
64
  "postcss-value-parser": "^4.2.0",
65
65
  "semver": "^7.5.4"