1 | # wxss-transpiler [![Build Status][ci-img]][ci]
|
2 |
|
3 | Port of wcsc.exe to Javascript.
|
4 | > Test only works on macOS, but this transpiler itself works universally, even on linux.
|
5 |
|
6 | ## Usage
|
7 |
|
8 | ```sh
|
9 | npm i wxss-transpiler
|
10 | ```
|
11 |
|
12 | ```js
|
13 | const transpile = require('wxss-transpiler')
|
14 | const fileList = ['./css/single.wxss']
|
15 | transpile(fileList).then(res => console.log(res))
|
16 | ```
|
17 |
|
18 | ## todo
|
19 |
|
20 | - support import
|
21 |
|
22 | ## Liscense
|
23 |
|
24 | MIT
|
25 |
|
26 | [ci-img]: https://travis-ci.org/IOriens/wxss-transpiler.svg
|
27 | [ci]: https://travis-ci.org/IOriens/wxss-transpiler |
\ | No newline at end of file |