Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/qwreey/lune-lightningcss

lightningcss binding for lune runtime
https://github.com/qwreey/lune-lightningcss

luau lune minify-css web

Last synced: 2 days ago
JSON representation

lightningcss binding for lune runtime

Awesome Lists containing this project

README

        

# lune-lightningcss

Simple [lightningcss](https://github.com/parcel-bundler/lightningcss) wrapper for lune runtime, with ffi edge feature.

## Example usage

Run `cargo build --profile=release` first to get shared object.

```luau
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}
```

## TODO

Parse/Minify/Print option supports