Releases: styled-components/babel-plugin-styled-components
Releases · styled-components/babel-plugin-styled-components
v1.2.0
Changes
- Avoids putting the component name into the class twice, thanks to @andrewtpoe
- Sanitizes the name to avoid generating invalid classes, thanks to @niklasgrahl
- Adds support for Babel 7, thanks to @lixiaoyan
- Moves the docs to the styled-components website, thanks to @SaraVieira
v1.1.7
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
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