Releases: JPeer264/node-rename-css-selectors
Releases Β· JPeer264/node-rename-css-selectors
v1.2.0
Feature
processSync
processCssSync
generateMappingSync
Fix
- README notice and missing parentheses
New folderstructure
Modularized functions in ./lib
instead of index.js
v1.1.0
Feature
- option in
processCss
- ignoreAttributeSelector
will ignore the attribute selectors
Fix
- Trigger attribute selectors as well
v1.0.1
Fix:
- custom name in
generateMapping
- docblock
v1.0.0
Breaking Change:
generateLibraryFile
renamed and rewritten to generateMapping
Feature:
loadMapping
to have the same renamed selector names all the time
Fix:
- doubled renamed selectors are now renamed to a random one
v0.2.0
Feature
- allow arrays as globs; e.g.:
rcs.process([ '*.js', '*.html' ], () => {})
v0.1.0
Feature
- new options in
processCss
regarding to [email protected]
- prefix (string) - prefixes the new selector
- suffix (string) - suffixes the new selector
- preventRandomName (boolean) - does not rename the selectors (good for prefixing/suffixing)
Fix
- Usage of
json-extra@readToObjSync
instead of rcs.helper.readJsonToObjSync
v0.0.2
- rcs outsourced
- updated dev dependencies
Istanbul and coveralls are now in the dev dependencies
- README fix
better introductions and overview
v0.0.1
Some options are still not working.
But the main functionality is given.