Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Apr 25, 2015
  1. Fixes #549 - keeping special comments in source maps.

    Since in source maps we restore content multiple times, the total
    important comment counter was not kept as a state thus handled
  2. Fixes #543 - better "comment in body" handling.

    So instead of keeping comments in a property list we get them out
    of every property.
    It is a bit tricky as comments escaped at the beginning need to be
    tracked and saved, but ones from the middle or end of the value has
    to be saved for later (see `innerProperties`) and tracked after the
    property even if they are moved before it.
    See tests for a better picture.
  3. Fixes #548 - regression in font minifying.

    Ah, you nasty font shorthand - we need #254.
Commits on Apr 24, 2015
  1. Fixes #546 - IE<11 `calc()` issue.

    So IE<11 does not support a space between calc() and whatever comes
    after it.
    There's gonna be a follow up with #547 in 3.3.
Commits on Apr 22, 2015
  1. Fixes #541 - outline-style auto in shorthand.

    Apparently two values that overlap between style and color are 'auto'
    and 'none'. We handled only the latter one correctly.
Commits on Apr 21, 2015
  1. Moves URL scanner into lib/urls/reduce.

    Was named incorrectly before.
  2. Moves URL rebasing & rewriting into lib/urls.

    After all those are not image-related anymore.
  3. Fixes #537 - regression in simple optimizer.

    Value minifiers do not work on many values at ones, so we need to
    check the position when doing minification for properties that allow
    more than one.
Commits on Apr 20, 2015
  1. Fixes #534 - wrong block stringifying.

    Flat blocks (`@font-face`) were omitted when adding optimization metadata,
    thus an important attribute was incorrectly added.
Commits on Apr 19, 2015
  1. Fixes #436 - refactors URI rewriting.

    Now it's way easier to understand.
  2. Version 3.2.0.

  3. Tweaks performance of multiproperty restructuring.

    We compare property names first then head to comparing a body which
    adds a stringify step.
  4. Improves multi-property restructuring.

    It is not perfect though as not all properties which should be
    moved are moved.
    The current output is valid but not optimal.
    See #533 for a follow up.
  5. Adds bootstrap to a reference list.

    It'd be easier to catch errors as bootstrap has a quite edgy CSS.
Commits on Apr 18, 2015
  1. Fixes #504 - keeping `url()` quotes.

    It's off by default.
    Kudos to @elcodedocle for inspiration.
Commits on Apr 17, 2015
  1. Fixes #524 - schedules subsequent inlining in next tick.

    We don't need to call `response.end()` as it's called automatically
    per spec:
    It may help solve the timeouts issue but certainly won't hurt.
Commits on Apr 15, 2015
  1. Fixes #529 - wrong font weight minification.

    Actually reworked this minification so we should not have further
    issues with it.
  2. Fixes #371 - SVG background hack.

    It will work for background-image too, and in general for any
    combination of two backgrounds where the latter is in the form of
  3. Fixes #528 - better support for IE<9 hacks.

    Adds better hack handling in property overriding and compacting too.
    Also normalizes all suffix hacks to '\0' as IE treats them equally.
Commits on Apr 14, 2015
  1. Fixes #521 - unit optimizations inside `calc()`.

    It's used as a hack so we should not optimize such expressions.
  2. Fixes #526 - shorthand overriding into a function.

    We should not merge into a shorthand that has functions as it will
    reduce understandability.
Commits on Apr 13, 2015
  1. Fixes #487 - source map paths under Windows.

    Apparently there's a bug in `source-map` library which does not
    normalize paths in `source` field to proper URL format.
    Thus source maps generated on Windows have backslashes instead of
    forward slashes. We correct it manually to get same output on all
Something went wrong with that request. Please try again.