Skip to content

Releases: styled-components/babel-plugin-styled-components

v1.2.0

29 Aug 09:01
Compare
Choose a tag to compare

Changes

v1.1.7

03 Jul 15:56
Compare
Choose a tag to compare

This contains an important patch that restores compatibility with styled-jsx and thus next.js.

Before stylis would share middleware and options for everyone who's using it. In v3.2 it was fixed so that an instance of stylis can be created that is isolated from the global singleton and other instances. This previously wasn't possible and broke compatbility with styled-jsx, since it's also using stylis.

Fixed

  • Upgrade to stylis v3.2 and use constructor

v1.1.6

03 Jul 15:58
Compare
Choose a tag to compare

This introduces a major patch for minification.

Fixed

  • Fixes minification stripping whitespace for wrapped lines

With prettier for example we often see newlines inside values. Our minification would concatenate the lines without adding a whitespace unfortunately. This mangled the output badly. This fixes the minification for these edge cases. #69