postcss-rename

Replace class names based on a customizable renaming scheme.

APACHE-2.0 License

Downloads
5.9K
Stars
127
Committers
40

Bot releases are visible (Hide)

postcss-rename - 0.6.0 Latest Release

Published by rzhw over 3 years ago

New features:

Classes can now be skipped based on regexes, by passing them into the except option. In other words, except now accepts both string and RegExp. (#40)

Developer changes:

Upgraded to jest 27

postcss-rename - 0.5.0

Published by rzhw over 3 years ago

Breaking changes:

The except option will now exclude by-part, when in by-part mode (#35). Formerly, it excluded only whole class names, even when in by-part mode.

Note this means behavior is no longer consistent with Closure Compiler and the --excluded_classes_from_renaming flag in Closure Stylesheets.

Developer changes:

Bumped gts from 2.0.0 to 3.1.0. Upgraded minor versions of other dependencies.

postcss-rename - 0.4.0

Published by rzhw over 3 years ago

Updated for PostCSS 8. At time of writing, this was ^8.2.6.

Similar to other PostCSS 8 plugins, npm install --save-dev postcss-rename should be used to install this plugin, and postcss has been moved from dependencies to peerDependencies.

Package Rankings
Top 4.39% on Npmjs.org
Badges
Extracted from project README
Build status
Related Projects