zoukankan      html  css  js  c++  java
  • webpack 命令

    • --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。包括服务请求时使用的自签名证书。
    • --cert--cacert--key: 路径证书文件。
    • --open: URL在默认浏览器打开(WebPACK版本> 2)。
    • --history-api-fallback: 支持历史版本的API.
  • 相关阅读:
    基础练习 数列排序
    入门训练 Fibonacci数列
    入门训练 圆的面积
    入门训练 序列求和
    fzu 2111 Min Number
    入门训练 A+B问题
    历届试题 城市建设
    sort 树 hash 排序
    nyist 676 小明的求助
    快速幂 蒙格马利算法
  • 原文地址:https://www.cnblogs.com/lcddjm/p/5758916.html
Copyright © 2011-2022 走看看