--content-base <file/directory/url/port>
:內容的路徑。--quiet
: 在控制臺不輸出任何內容--no-info
: 抑制無聊的信息--colors
: 為輸出加一些顏色--no-colors
: don’t use colors in the output.--compress
: 使用gzip壓縮--host <hostname/ip>
: hostname or IP.?0.0.0.0
?binds to all hosts.主機名--port <number>
: port.端口號--inline
:嵌入WebPACK開發服務器運行時在包。--hot
: adds the?HotModuleReplacementPlugin
?and switch the server to?hot mode. Note: make sure you don’t addHotModuleReplacementPlugin
?twice.--hot --inline
?also adds the?webpack/hot/dev-server
?entry.--lazy
:對require 不監視,編譯 (cannot be combined with?--hot
).--https
:?為開發服務器通過HTTPS協議WebPACK。webpack-bundle-analyzer?包括服務請求時使用的自簽名證書。--cert
,?--cacert
,?--key
:?路徑證書文件。--open
:?URL在默認瀏覽器打開(WebPACK版本> 2)。webpackchunkname?--history-api-fallback
: 支持歷史版本的API.
轉載于:https://www.cnblogs.com/lcddjm/p/5758916.html