Simple lightningcss wrapper for lune runtime, with ffi edge feature.
Run cargo build --profile=release
first to get shared object.
local lightningcss = require("./")
.new("./target/release/liblune_lightningcss.so")
local result = lightningcss:minify([[
body > .asdf {
background-color: rgb(123, 89, 231);
}
]])
print(result) -- body>.asdf{background-color:#7b59e7}
Parse/Minify/Print option supports