43081j / 43081j/postcss-styled-components
Nested css in template results in skipping template
Abierto
- Lenguaje dominante
- TypeScript
- Estrellas
- 12
- Forks
- 1
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Nesting styled-component `css` inside any styled-component template literal results in the template being skipped.
Example:
```
import styled, { css } from "styled-components"
const Foo = styled.div`
${css`
color: hotpink;
`}
`
```
Output: `[postcss (styled-components)] Skipping template (file: ...) as it included either invalid syntax or complex expressions the plugin could not interpret. Consider using a "// postcss-styled-components-disable-next-line" comment to disable this message`
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.