2022-02-03 12:03:38 +08:00

608 B

输入

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

输出