babel-plugin-styled-components icon indicating copy to clipboard operation
babel-plugin-styled-components copied to clipboard

Improve the debugging experience and add server-side rendering support to styled-components

Results 95 babel-plugin-styled-components issues
Sort by recently updated
recently updated
newest added

Reopening https://github.com/styled-components/babel-plugin-styled-components/issues/213 as I'm still experiencing this issue despite the suggestion provided. I'm using v3.4.10 of styled-components and v1.10.0 of babel-plugin-styled-components. This is what I'm using in my component :...

## Reproduction https://codesandbox.io/s/beautiful-nash-0llyo ## Steps to reproduce Use css prop and have a dynamic component variable, like the `As` variable here: ```jsx import React from "react"; import "styled-components/macro"; export default...

This have bugged me for awhile, but i can see that createGlobalStyle is not minimized in the final outcome. Compressed with Terser, and babel plugin "babel-plugin-styled-components". ![image](https://user-images.githubusercontent.com/30632653/94973304-9820d600-050b-11eb-891c-ee6e4b4c3383.png)

Hi I put some `console.logs` into the `babel-plugin-styled-components` and it seems to get called but for some reason it does not process and the result is that for example `comments`...

Hello, It seems like when a variable name is not unique, a `className` did not match warning is generated, and the style is not ultimately applied in the browser because...

This is an example of my wrapper method ```typescript const withStyledDoThing = ( Comp: ComponentType, extendSomething?: (p: string) => string, props: string) => styled(Comp)` ${extendSomething(props)} `; ``` How can I...

As-is, this plugin does not appear to detect usages of `styled` when imported from `styled-components/native` instead of `styled-components`. I'm specifically interested in the `displayName` support to make debugging easier.

enhancement
help wanted

So I'm using styled-components with typescript and also using a theme for all my components. In order to add the theme type to the styled function I need to wrap...