W3Cschool
恭喜您成為首批注冊用戶
獲得88經(jīng)驗值獎勵
mor analyze -h
查看幫助信息。用法:
$ mor analyze
選項:
--mode <analyzerMode> 依賴分析模式, 可選值為 server, static, json, disabled
--host <analyzerHost> 依賴分析 HTTP 服務(wù)域名, 僅在 mode 為 server 時生效
--port <analyzerPort> 依賴分析 HTTP 服務(wù)端口號, 僅在 mode 為 server 時生效
--report-filename <reportFilename> 生成報告文件的名稱, 僅在 mode 為 static 時生效
--report-title <reportTitle> 生成報告文件的標(biāo)題, 僅在 mode 為 static 時生效
--default-sizes <defaultSizes> 分析報告中展示模塊大小的定義方式, 可選值為 stat, parsed, gzip
--open 瀏覽器中打開
--no-open 不在瀏覽器中打開 (默認(rèn): true)
--generate-stats-file 是否生成 stats 文件
--stats-filename <statsFilename> stats 文件名稱
--verbose 開啟框架調(diào)試日志
-h, --help 顯示幫助信息
--cwd <cwd> 當(dāng)前工作目錄, 默認(rèn)為 process.cwd()
-c, --config <path> 指定自定義配置文件路徑, 支持 .ts, .js, .mjs, .json, .jsonc, .json5 等類型, 如 mor.config.ts
--ignore-config 忽略或不自動載入用戶配置文件
--no-autoload-plugins 關(guān)閉自動載入插件功能 (默認(rèn): true)
--name <configName> 指定配置名稱, 如不指定則代表選擇所有配置
--plugins <plugins> 指定需要運行的插件, 如: plugin1,plugin2
Copyright©2021 w3cschool編程獅|閩ICP備15016281號-3|閩公網(wǎng)安備35020302033924號
違法和不良信息舉報電話:173-0602-2364|舉報郵箱:jubao@eeedong.com
掃描二維碼
下載編程獅App
編程獅公眾號
聯(lián)系方式:
更多建議: