minify-selectors
Advanced tools
Comparing version 2.3.3 to 2.4.1
{ | ||
"name": "minify-selectors", | ||
"version": "2.3.3", | ||
"version": "2.4.1", | ||
"description": "Post-processor that minifies classes and IDs in CSS, HTML, Javascript and SVG files.", | ||
@@ -5,0 +5,0 @@ "author": { |
@@ -276,3 +276,3 @@ [1]: https://github.com/adamgian/minify-selectors/releases/latest | ||
<tr> | ||
<th align="left" width="165">Option</th> | ||
<th align="left" width="180">Option</th> | ||
<th align="left">Description</th> | ||
@@ -303,2 +303,3 @@ </tr> | ||
<td> | ||
<sup>Optional</sup><br> | ||
String sequence of characters to use when encoding. | ||
@@ -313,2 +314,3 @@ <br><br>Default: <code>"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"</code> | ||
<td> | ||
<sup>Optional</sup><br> | ||
Index to start incrementing and encoding from. | ||
@@ -323,3 +325,5 @@ <br><br>Default: <code>0</code> | ||
<td> | ||
<sup>Optional</sup><br> | ||
Enable concurrent processing. | ||
<br><br>Default: <code>false</code> | ||
</td> | ||
@@ -329,9 +333,65 @@ </tr> | ||
<td valign="top"> | ||
<code lang="shell">--disable-sort</code> | ||
<code lang="shell">--sort</code> | ||
</td> | ||
<td> | ||
Skip reordering of selectors by frequency before minifying. | ||
<sup>Optional</sup><br> | ||
Reorder selectors by frequency before minifying. | ||
<br><br>Default: <code>true</code> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td valign="top"> | ||
<code lang="shell">--custom-class-attribute</code> | ||
</td> | ||
<td> | ||
<sup>Optional</sup><br> | ||
Custom HTML and SVG attributes that contain a space-separated list of classes. | ||
</td> | ||
</tr> | ||
<tr> | ||
<td valign="top"> | ||
<code lang="shell">--custom-id-attribute</code> | ||
</td> | ||
<td> | ||
<sup>Optional</sup><br> | ||
Custom HTML and SVG attributes that contain an ID (or space-separated list of IDs). | ||
</td> | ||
</tr> | ||
<tr> | ||
<td valign="top"> | ||
<code lang="shell">--custom-selector-attribute</code> | ||
</td> | ||
<td> | ||
<sup>Optional</sup><br> | ||
Custom HTML and SVG attributes that contain a selector string. | ||
</td> | ||
</tr> | ||
<tr> | ||
<td valign="top"> | ||
<code lang="shell">--custom-anchor-attribute</code> | ||
</td> | ||
<td> | ||
<sup>Optional</sup><br> | ||
Custom HTML and SVG attributes that contain a URL. | ||
</td> | ||
</tr> | ||
<tr> | ||
<td valign="top"> | ||
<code lang="shell">--custom-style-attribute</code> | ||
</td> | ||
<td> | ||
<sup>Optional</sup><br> | ||
Custom HTML and SVG attributes that contain CSS styles. | ||
</td> | ||
</tr> | ||
<tr> | ||
<td valign="top"> | ||
<code lang="shell">--custom-script-attribute</code> | ||
</td> | ||
<td> | ||
<sup>Optional</sup><br> | ||
Custom HTML and SVG attributes that contain JS code. | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> |
23620
393