Skip to content

v0.0.1 #3

@tbela99

Description

@tbela99

Minification

  • merge identical rules
  • merge adjacent rules
  • minify colors
  • compute shorthand: border-radius, border-width, margin, padding
  • remove redundant declarations
  • simple shorthand properties (padding, margin, etc). must have all required properties
  • complex shorthand properties (background, font, etc.). may have optional properties
  • conditionally unwrap :is()
  • automatic css nesting
  • automatically wrap selectors using :is()
  • multi-level shorthand properties (border - [border-width, border-color, etc.]) https://developer.mozilla.org/en-US/docs/Web/CSS/Shorthand_properties
  • avoid reparsing (declarations, selectors, at-rule)
  • avoid rerendering (declarations, selectors, at-rule)
  • node and browser versions
  • decode and replace utf-8 escape sequence

Performance

Testing

  • node tests
  • browser tests

Code Coverage

  • node
  • browser

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions