Skip to content

Releases: google/postcss-rename

0.8.0

09 Jun 17:41
2490748

Choose a tag to compare

0.8.0

  • Added variable renaming capabilities. Users who are interested in using the
    variable renaming plugin require "moduleResolution" to be "node16" or
    higher in order for TypeScript to properly resolve types.

0.7.0

03 Jun 18:32

Choose a tag to compare

What's Changed

Full Changelog: 0.6.0...0.7.0

0.6.0

09 Jun 06:24

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

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

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.