Skip to content

Releases: google/postcss-rename

0.6.0

09 Jun 06:24
Compare
Choose a tag to compare

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

0.5.0

07 May 02:43
Compare
Choose a tag to compare

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.

0.4.0

15 Feb 01:39
Compare
Choose a tag to compare

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.