https://github.com/ioriens/wxss-transpiler
Port of wcsc.exe to Javascript. wxss 文件编译器
https://github.com/ioriens/wxss-transpiler
compiler css minapp postcss transpiler wxapp wxss wxss-transpiler wxss2css
Last synced: 2 months ago
JSON representation
Port of wcsc.exe to Javascript. wxss 文件编译器
- Host: GitHub
- URL: https://github.com/ioriens/wxss-transpiler
- Owner: IOriens
- Created: 2017-08-22T15:04:17.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-09T08:05:10.000Z (over 7 years ago)
- Last Synced: 2025-03-26T20:06:19.327Z (3 months ago)
- Topics: compiler, css, minapp, postcss, transpiler, wxapp, wxss, wxss-transpiler, wxss2css
- Language: JavaScript
- Homepage: https://weidian-inc.github.io/hera
- Size: 493 KB
- Stars: 19
- Watchers: 2
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# wxss-transpiler [![Build Status][ci-img]][ci]
[](https://app.fossa.io/projects/git%2Bgithub.com%2FIOriens%2Fwxss-transpiler?ref=badge_shield)Port of wcsc.exe to Javascript.
> Test only works on macOS, but this transpiler itself works universally, even on linux.## Usage
```sh
npm i wxss-transpiler
``````js
const transpile = require('wxss-transpiler')
const fileList = ['./css/single.wxss']
transpile(fileList).then(res => console.log(res))
```## Liscense
MIT
[ci-img]: https://travis-ci.org/IOriens/wxss-transpiler.svg
[ci]: https://travis-ci.org/IOriens/wxss-transpiler## License
[](https://app.fossa.io/projects/git%2Bgithub.com%2FIOriens%2Fwxss-transpiler?ref=badge_large)