mirror of
https://github.com/msojocs/wechat-web-devtools-linux.git
synced 2025-07-22 00:00:04 +08:00
2.6 KiB
2.6 KiB
输入
node_modules --- options.json 把options.json转换为命令行参数
二进制文件的说明
WCC
Windows
Wechat WXML Compiler, version v0.5vv_20200413_syb_scopedata
Usage: Z:\mnt\disk1\GitHub\wechat-devtools\cache\wechat_devtools_1.05.2201240_x64\code\package.nw\js\vendor\wcc.exe [-d] [-o OUTPUT] [-xc XComponentDefine] [-om XComponentDefine] [-cb [callback.js...]] [-llcommon] [-llw/-lla 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
-llw: compile in lazy load mode (webiew)
-lla: compile in lazy load mode (app service)
args XCPath: custom component paths connected by comma or --split (./page/index,./comp/comp)
Linux
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
WCSC
Windows
*** WeChat Stylesheet Compiler, Version v0.4me_20190328_db ***
Usage: Z:\mnt\disk1\GitHub\wechat-devtools-linux\package.nw\js\vendor\wcsc.exe [-lc] [-o OUTPUT] [-s <NAME OF FILE>] [-st] [-js] [-db] [-cp <CLASS PREFIX>] [-pc <FILE COUNT>] <[-sd <SOURCE DIRECTLY>] | <root_css_file..> [import_css_files..]>
-lc: need to lint the css
-sd: 'someclass { font-size: 18px }'
-s: read from stdin
-o: output destination (default stdout)
-st: print tree
-db: add debug attr
-js: js formate output
-cp: add class prefix
-pc: page wxss files count
Linux
*** WeChat Stylesheet Compiler, Version v0.4me_20190328_db ***
Usage: ./bin/linux/wcsc [-lc] [-o OUTPUT] [-s <NAME OF FILE>] [-st] [-js] [-db] [-cp <CLASS PREFIX>] [-pc <FILE COUNT>] <[-sd <SOURCE DIRECTLY>] | <root_css_file..> [import_css_files..]>
-lc: need to lint the css
-sd: 'someclass { font-size: 18px }'
-s: read from stdin
-o: output destination (default stdout)
-st: print tree
-db: add debug attr
-js: js formate output
-cp: add class prefix
-pc: page wxss files count