@cssxio/babel-plugin 0.2.0 → 0.2.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/README.md +2 -0
- package/package.json +8 -3
package/README.md
CHANGED
|
@@ -28,3 +28,5 @@ export default {
|
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
The plugin accepts an optional `theme` string containing CSS text with CSSX `@theme` input. Use `themeFile` in the CSSX adapter when the build tool should read theme CSS text from a file.
|
|
31
|
+
|
|
32
|
+
Set `stableClassNames: true` when development builds need composite class names to remain stable across CSS-only edits. The generated names are derived from the source file and call site, so use the same setting consistently for a given development environment.
|
package/package.json
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cssxio/babel-plugin",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Babel compiler transform for CSSX.",
|
|
5
5
|
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/liberocks/cssx.git",
|
|
9
|
+
"directory": "packages/babel-plugin"
|
|
10
|
+
},
|
|
6
11
|
"type": "module",
|
|
7
12
|
"main": "./dist/index.cjs",
|
|
8
13
|
"module": "./dist/index.js",
|
|
@@ -22,9 +27,9 @@
|
|
|
22
27
|
"@babel/core": "^7.28.0"
|
|
23
28
|
},
|
|
24
29
|
"dependencies": {
|
|
25
|
-
"@cssxio/compiler": "
|
|
30
|
+
"@cssxio/compiler": "0.2.0"
|
|
26
31
|
},
|
|
27
32
|
"scripts": {
|
|
28
33
|
"build": "tsup src/index.ts --format esm,cjs --dts --external @babel/core --clean"
|
|
29
34
|
}
|
|
30
|
-
}
|
|
35
|
+
}
|