minify-selectors
Advanced tools
Comparing version 1.0.0-beta.4 to 1.0.0
{ | ||
"name": "minify-selectors", | ||
"version": "1.0.0-beta.4", | ||
"version": "1.0.0", | ||
"description": "Post-processor that minifies classes and IDs in CSS, HTML, Javascript and SVG files.", | ||
@@ -30,2 +30,3 @@ "author": { | ||
"HTML", | ||
"SVG", | ||
"minify", | ||
@@ -32,0 +33,0 @@ "selectors", |
@@ -125,4 +125,4 @@ [1]: https://github.com/adamgian/minify-selectors/releases/latest | ||
- `.__--` or `#__--` — instead of the selector type ('#' or '.') before CSS selector names | ||
- `__class--` or `__id--` — for "name only" selectors, use '\_\_class--' for class selectors and '\_\_id--' for ID selectors | ||
- `.__--` or `#__--` instead of the selector type ('#' or '.') before selector names | ||
- `__class--` or `__id--` for "name only" selectors, use '\_\_class--' for class selectors and '\_\_id--' for ID selectors | ||
@@ -172,4 +172,4 @@ <table> | ||
- `.__ignore--` and `#__ignore--` — instead of the selector type ('#' or '.') before CSS selector names | ||
- `__ignore--` — for selectors that are "name only" | ||
- `.__ignore--` and `#__ignore--` instead of the selector type ('#' or '.') before selector names | ||
- `__ignore--` for selectors that are "name only" | ||
@@ -205,3 +205,3 @@ <table> | ||
> **Please note:** | ||
minify-selectors only supports regular CSS, HTML and JS files. minify-selectors should be one of the final steps in your build process — SASS/SCSS, LESS, Typescript, JQuery, Handlebars, etc. should be compiled or transpiled first into its respective vanilla form. | ||
minify-selectors only supports regular CSS, HTML, JS and SVG files. SASS/SCSS, LESS, TypeScript, JQuery, Handlebars, etc. should be compiled or transpiled first into its respective vanilla form. | ||
@@ -215,3 +215,3 @@ ### Via npm and npm scripts | ||
2. Include minify-selectors in your package.json 'scripts' property: | ||
2. Include minify-selectors in your package.json 'scripts' property, for example: | ||
```json | ||
@@ -263,3 +263,3 @@ "scripts": { | ||
<td> | ||
Directory to process. Any CSS, HTML and JS files in the given directory and sub-directories will be parsed. | ||
Directory to process. Any CSS, HTML, JS and SVG files in the given directory and sub-directories will be parsed. | ||
</td> | ||
@@ -266,0 +266,0 @@ </tr> |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
22051