mirror of
https://github.com/msojocs/wechat-web-devtools-linux.git
synced 2025-07-22 00:00:04 +08:00
24 lines
608 B
Markdown
24 lines
608 B
Markdown
|
|
|
|
# 输入
|
|
node_modules --- options.json
|
|
把options.json转换为命令行参数
|
|
|
|
execute ----
|
|
```
|
|
Wechat WXML Compiler, version v0.5vv_20200413_syb_scopedata
|
|
Usage: ./wcc [-d] [-o OUTPUT] [-xc XComponentDefine] [-om XComponentDefine] [-cb [callback.js...]] [-ll XCPath] <FILES... | -s <SINGLE_FILE>
|
|
Options:
|
|
-d: output code for debug
|
|
-o: output destination (default stdout)
|
|
-xc: output simplified code for custom component
|
|
-cc: output compelete code for custom component
|
|
-s: read from stdin
|
|
-ds: insert debug wxs info
|
|
-cb: add life cycle callback
|
|
-ll: compile in lazy load mode
|
|
```
|
|
|
|
# 输出
|
|
|