Skip to content

qwreey/lune-lightningcss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lune-lightningcss

Simple lightningcss wrapper for lune runtime, with ffi edge feature.

Example usage

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}

TODO

Parse/Minify/Print option supports

About

lightningcss binding for lune runtime

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published