Skip to content

Releases: ChristianMurphy/postcss-combine-duplicated-selectors

Logical Grouping

26 Jun 22:21
Compare
Choose a tag to compare

Matching selectors that have different text order but same logical meaning are now grouped.

E.G.

.one.two {} .two.one {}

becomes

.one.two {}

Testing

  • Added tests for different textual ordering
  • Added tests for pseudo classes
  • Added tests for psuedo elements
  • Restructured tests to separate unique selector tests and duplicated selector tests
  • Restructured tests to separate css tests from less/scss tests.

Chores

  • Updated dependencies
  • Added script to ensure release will always have latest built code

Attribute Selectors

21 Jun 18:54
Compare
Choose a tag to compare

Matching selectors with attributes can now be combined.
README now includes a usage guide.

Testing

  • Selector attribute tests

Linting

  • Check Javascript import statements for correctness

Tests and Fixes

16 Jun 02:00
Compare
Choose a tag to compare

New Tests:

  • Multiple declarations @eirslett
  • Nested selectors
  • Sibling selectors

Fix:

  • Resolved issue with multiple declarations not being copied correctly

Chores:

  • Move tests into test macros
  • Updated project dependencies

Mixed Spacing

22 May 20:14
Compare
Choose a tag to compare

Plugin can now group selectors with different spacing between each statement.

Hello World!

22 May 20:12
Compare
Choose a tag to compare

Support for combining groups that have identical selectors.