Skip to content

v1.6.0

Choose a tag to compare

@quantizor quantizor released this 31 Aug 00:13
6975b52

Features

  • Automatically desugar styled.{element} to styled(element) (#125) This allows for the next item to work and save bytes in the resulting JS bundle.

  • Added new "no-tags" import rewriting functionality when using styled-components >= v4 (#150)

Fixes

  • Single line JS-style comments in the styles now work properly with an interpolation on the same line (#155), e.g.

    styled.div`
      color: green;
      // text-align: ${props => props.align};
    `

Misc

  • Removed "uglifyPure" functionality. Unfortunately this experiment didn't have the effect we wanted and in most cases dramatically slowed down people's builds.

  • SSR mode is now on by default. There's no downside to enabling it and stable class names are always a good thing. (#82)

  • Deleted all files related to the "preprocess" functionality that was deprecated.