Open BerndWessels opened 4 years ago
I'm having the same issue
"styled-components": "^5.3.5", "babel-plugin-styled-components": "^2.0.6",
all other template literals in styled-components are being minified as expected, but the keyframes`` aren't being touched.
Experiencing a similar issue but with css
helper and usage without macro
I noted that setting skipPreflightCheck: true
on @rollup/babel-plugin changes the behavior... in my case the styled helpers are minified now. Don't know the implications for other plugins though...
Hi using the latest
babel-plugin-styled-components
1.10.7
thekeyframes
string does not get minified in the output (like whitespaces removed n stuff).See that the
span
gets nicely minifiedBut the
keyframes
doesn'tthis is my
rollup.config.js