rspack-lightningcss 0.1.1

A CSS parser, transformer, and minifier
Documentation
1
2
3
4
5
6
7
8
fn main() {
  #[cfg(feature = "jsonschema")]
  {
    let schema = schemars::schema_for!(rspack_lightningcss::stylesheet::StyleSheet);
    let output = serde_json::to_string_pretty(&schema).unwrap();
    let _ = std::fs::write("node/ast.json", output);
  }
}