Full CSS support for JSX without compromises
7.7k
stars
262
forks
source link
Expected a template literal or String literal as the child of the JSX Style tag (eg: <style jsx>{`some css`}</style>), but got CallExpression #831
Closed
shervinchen closed 1 year ago
My project can run normally, but when I try to build my project with rollup, this error is reported:
Here is my rollup build config:
Version: styled-jsx: ^5.0.2 rollup: ^2.75.7
I think there should be no problem with my style syntax, why is this error reported?