@stylexswc/postcss-plugin 0.6.3 → 0.6.4-rc.2
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 +6 -3
- package/dist/types.d.ts.map +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -54,9 +54,12 @@ module.exports = stylexPlugin({
|
|
|
54
54
|
```
|
|
55
55
|
|
|
56
56
|
> [!WARNING]
|
|
57
|
-
> Each plugin of `@stylexswc` namespace accepts an `extractCSS`
|
|
58
|
-
> extraction. When using the `postcss` plugin, this option
|
|
59
|
-
> `false` to avoid double generation of CSS files with StyleX
|
|
57
|
+
> Each plugin of `@stylexswc` namespace accepts an `extractCSS`
|
|
58
|
+
> option to control CSS extraction. When using the `postcss` plugin, this option
|
|
59
|
+
> should be set to `false` to avoid double generation of CSS files with StyleX
|
|
60
|
+
> styles.
|
|
61
|
+
|
|
62
|
+
|
|
60
63
|
|
|
61
64
|
> [!NOTE]
|
|
62
65
|
> This approach requires transpiling JS/TS files with StyleX code twice:
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,MAAM,WAAW,kBAAkB;IACjC;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;IACnC;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,MAAM,WAAW,kBAAkB;IACjC;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;IACnC;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,gBAAgB;IAC/B,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stylexswc/postcss-plugin",
|
|
3
3
|
"description": "StyleX PostCSS plugin with NAPI-RS compiler",
|
|
4
|
-
"version": "0.6.
|
|
4
|
+
"version": "0.6.4-rc.2",
|
|
5
5
|
"config": {
|
|
6
6
|
"scripty": {
|
|
7
7
|
"path": "../../scripts/packages"
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@stylexjs/babel-plugin": "^0.10.1",
|
|
12
|
-
"@stylexswc/rs-compiler": "0.6.
|
|
12
|
+
"@stylexswc/rs-compiler": "0.6.4-rc.2",
|
|
13
13
|
"fast-glob": "^3.3.2",
|
|
14
14
|
"glob-parent": "^6.0.2",
|
|
15
15
|
"is-glob": "^4.0.3",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@babel/types": "^7.23.9",
|
|
20
|
-
"@stylexswc/eslint-config": "0.6.
|
|
21
|
-
"@stylexswc/typescript-config": "0.6.
|
|
20
|
+
"@stylexswc/eslint-config": "0.6.4-rc.2",
|
|
21
|
+
"@stylexswc/typescript-config": "0.6.4-rc.2",
|
|
22
22
|
"@types/babel__core": "^7.20.5",
|
|
23
23
|
"@types/glob-parent": "^5.1.3",
|
|
24
24
|
"@types/is-glob": "^4.0.4",
|