You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,6 @@ css-codemod is a toolkit for running codemods over many CSS files to transform c
5
5
- Any [PostCSS syntax parser and stringifier](https://github.com/postcss/postcss/blob/main/docs/syntax.md) can be added. This extends support for additional syntaxes like SASS and LESS.
6
6
- Any [PostCSS plugin](https://github.com/postcss/postcss/blob/main/docs/plugins.md) can be added. This allows running any plugin as a one-off transform. This can be useful if you want to run a plugin once and remove it from a build tool or convert between syntaxes.
7
7
- Any [PostCSS helpers](https://postcss.org/api/) for working with nodes and the abstract syntax tree can be used to transform CSS arbitrarily to fit your needs.
8
-
- Custom helpers provided by css-codemod to streamline some types of transforms.
9
8
10
9
## Install
11
10
@@ -177,6 +176,8 @@ export const parser = parse;
177
176
exportconst plugins = [calc({})];
178
177
```
179
178
179
+
For more examples, see the [codemod recipes](https://github.com/skovy/css-codemod/tree/main/recipes).
180
+
180
181
### PostCSS
181
182
182
183
[PostCSS](https://postcss.org) is the core tool used for performing code transformations. As a result, much of it's API is re-surfaced in this toolkit and will link to it's documentation.
0 commit comments