Replies: 2 comments 1 reply
-
Yes, that is the goal. Lightning CSS is widely used at this point, integrated into multiple bundlers. Early on we tested it with a script that used puppeteer to download the CSS from many popular websites, minify it, and compare the computed styles on all DOM nodes to see if anything was broken. It's been several years since then, and lots of feedback has been incorporated. So I encourage you to try it for your use case and report and if you come across any issues please let us know. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the response. I was about to write such script that checks computed styles on nodes. Is your testing setup available somewhere? |
Beta Was this translation helpful? Give feedback.
-
Question to project developers: how robust is Lightning CSS? Can I minify any stylesheet from any website, and get a working stylesheet compatible with mainstream browsers (or a reliably reported processing failure)?
I know it has a robust CSS parser, but is the rest of minification similarly robust? Are there any risky/untested features to avoid?
Beta Was this translation helpful? Give feedback.
All reactions