News for hackers. Stuff that matters.
Re:Parcel CSS: A new CSS parser, compiler, and minifier by jafitc on Wednesday January 12, 2022 @05:03PM (#29913345)
Is this something that can run in browser Workers via wasm or other means?

Most of CSS OM is already implemented in Javascript which can come in handy for this project:

https://github.com/NV/CSSOM

https://github.com/jsdom/cssstyle

(both of which jsdom use internally. cssstyle is a kind of updated version for some parts of CSSOM)

Re:Parcel CSS: A new CSS parser, compiler, and minifier by devongovett on Wednesday January 12, 2022 @05:34PM (#29913708)
Yes, there is a WASM build used by the demo: https://parcel-css.vercel.app

Not sure if we could reuse these packages though, since we'd need to expose an API from Rust to JS anyway.