Closed Tonyhliu closed 1 year ago
@theKashey
Got you. This moment is not actually under the direct control of used-styles as it used post-css
to parse CSS and sounds like it's time for a long-delayed migration to postcss 8. That is quite likely to solve the problem.
Try 2.5.0 - it should solve your problem
hey @theKashey - thanks for hopping on this so quickly, truly appreciate it. β€οΈ
One quick Q : did you happen to build the package before publishing? Noticing that I'm still getting the old version of the code, even though the package shows 2.5.0
π
Update : cloning used-styles
and generating a build to use locally solves the issue π₯ !
:duh: 2.5.2 should solve the probelm.
I've runned only tests relying on yarn hooks to build stuff before publish, but they are not working (again) for a some reason π’
Haha no worries @theKashey - happens to the best of us π
2.5.2 is working as expected, can't thank you enough for the quick turnaround time on this! Cheers m8!! π₯
Due to how our components stylesheets target svg classes for lottie player :
i.e.
The resulting critical styles (from
getCriticalStyles
) gets truncated incorrectly like so :The expected style from the critical styles would be :