postcss-modules 4.2.2 → 4.3.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.
- package/CHANGELOG.md +4 -0
- package/LICENSE +1 -1
- package/README.md +7 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright 2015-
|
|
3
|
+
Copyright 2015-present Alexander Madyankin <alexander@madyankin.name>
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
6
6
|
this software and associated documentation files (the "Software"), to deal in
|
package/README.md
CHANGED
|
@@ -10,8 +10,9 @@ A [PostCSS] plugin to use [CSS Modules] everywhere. Not only at the client side.
|
|
|
10
10
|
I maintain the plugin in my free time, so I don't receive any payment for this work.
|
|
11
11
|
To have better docs, new features and integrations with frameworks, you can [support me on Patreon](https://www.patreon.com/bePatron?u=25976212).
|
|
12
12
|
|
|
13
|
+
The sponsors are listed [below in the README](#sponsors)
|
|
13
14
|
|
|
14
|
-
## What is this?
|
|
15
|
+
## What is this?
|
|
15
16
|
|
|
16
17
|
For example, you have the following CSS:
|
|
17
18
|
|
|
@@ -213,7 +214,7 @@ In lieu of a string, a custom function can generate the exported class names.
|
|
|
213
214
|
|
|
214
215
|
### Resolve path alias
|
|
215
216
|
|
|
216
|
-
You can rewrite paths for `composes/from` by using `resolve` options.
|
|
217
|
+
You can rewrite paths for `composes/from` by using `resolve` options.
|
|
217
218
|
It's useful when you need to resolve custom path alias.
|
|
218
219
|
|
|
219
220
|
```js
|
|
@@ -325,3 +326,7 @@ npm install --save-dev postcss postcss-modules
|
|
|
325
326
|
```
|
|
326
327
|
|
|
327
328
|
[filesystemloader]: https://github.com/css-modules/css-modules-loader-core/blob/master/src/file-system-loader.js
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
## Sponsors
|
|
332
|
+
- Dmitry Olyenyov
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "postcss-modules",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.0",
|
|
4
4
|
"description": "PostCSS plugin to use CSS Modules everywhere",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"url": "https://github.com/css-modules/postcss-modules.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"generic-names": "^
|
|
22
|
+
"generic-names": "^4.0.0",
|
|
23
23
|
"icss-replace-symbols": "^1.1.0",
|
|
24
24
|
"lodash.camelcase": "^4.3.0",
|
|
25
25
|
"postcss-modules-extract-imports": "^3.0.0",
|