@uyun/cli-command-patch
cli patch命令
Last updated 5 years ago by chengdiao .
ISC · Repository ·
$ cnpm install @uyun/cli-command-patch 
Private package

@uyun/cli-command-patch

cli patch 命令

命令说明

everest patch <src>

打包指定文件夹下的文件为可发布组件

位置:
  src  源文件文件夹                                              [字符串] [必需]

选项:
  --help, -h     显示帮助信息                                             [布尔]
  --version, -v  显示版本号                                               [布尔]
  --outdir, -o   打包输出文件夹                        [字符串] [默认值: "dist"]

与旧版 patch 命令的区别

  1. 指定的源码文件夹下的所有文件都会被编译
  2. package.json中的字段不会自动修改,是直接拷贝的,name字段、version字段和main字段都需要开发人员自己修改

注意

路径别名不能使用绝对路径,只能使用相对路径

module.exports = {
  alias: {
    '~': '/user/xxx', // 不支持
    `r`: './src/app/' // 支持
  }
}

Current Tags

  • 0.1.0                                ...           latest (5 years ago)

20 Versions

  • 0.0.1                                ...           6 years ago
  • 0.0.2                                ...           6 years ago
  • 0.0.3                                ...           6 years ago
  • 0.0.4                                ...           6 years ago
  • 0.0.5                                ...           6 years ago
  • 0.0.6                                ...           6 years ago
  • 0.0.7                                ...           6 years ago
  • 0.0.9                                ...           6 years ago
  • 0.0.13                                ...           6 years ago
  • 0.0.15                                ...           6 years ago
  • 0.0.16                                ...           6 years ago
  • 0.0.17                                ...           6 years ago
  • 0.0.18                                ...           6 years ago
  • 0.1.0                                ...           5 years ago
  • 0.0.8                                ...           6 years ago
  • 0.0.14                                ...           6 years ago
  • 0.0.11                                ...           6 years ago
  • 0.0.10                                ...           6 years ago
  • 0.0.12                                ...           6 years ago
  • 0.0.19                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (7)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org