Skip to content

Commit 5dc7570

Browse files
committed
Docs: add sync methods
1 parent d4bddb7 commit 5dc7570

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,8 @@ Let's exclude 4 classes and id's: `js`, `flexbox`, `canvas` and `svg`
219219

220220
Store all matched selectors into the library and saves the new generated file with all renamed selectors.
221221

222+
Sync: `processCssSync`
223+
222224
Options:
223225

224226
- overwrite (boolean): ensures that it does not overwrite the same file accidently. Default is `false`
@@ -248,6 +250,8 @@ rcs.processCss('**/*.css', options, err => {
248250

249251
> **Important!** processCss should run first, otherwise there are no minified selectors
250252
253+
Sync: `processJsSync`
254+
251255
Options:
252256

253257
- overwrite (boolean): ensures that it does not overwrite the same file accidently. Default is `false`
@@ -278,6 +282,8 @@ rcs.processJs('**/*.js', options, err => {
278282
279283
Matches all strings `" "` or `' '` and replaces all matching words which are the same as the stored css values.
280284

285+
Sync: `processSync`
286+
281287
Options:
282288

283289
- overwrite (boolean): ensures that it does not overwrite the same file accidently. Default is `false`

0 commit comments

Comments
 (0)