Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/qwreey/lune-lightningcss
- Owner: qwreey
- License: mit
- Created: 2024-11-12T11:46:30.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2024-11-12T18:04:16.000Z (3 months ago)
- Last Synced: 2025-01-27T11:10:25.415Z (5 days ago)
- Topics: luau, lune, minify-css, web
- Language: Luau
- Homepage:
- Size: 14.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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