ynr

0.0.1 • Public • Published

命令行参数

  • ynr init : 添加配置文件
  • ynr build=index : 开发环境构建
  • ynr build=index env=hot : 开发环境构建 + 热替换
  • ynr build=index env=pro : 生产环境构建
  • ynr build entry=demo/index : 命令行中直接指定 entry, 而无需配置 keys 字段
  • ynr version 版本号
  • ynr cros : 打开禁用跨域选项的 Chrome

使用方法

# 添加配置文件 
ynr init
 
# 配置打包路径 
ynw.config.js
 
# 构建 
ynr build=app

Package Sidebar

Install

npm i ynr

Weekly Downloads

0

Version

0.0.1

License

ISC

Unpacked Size

27 kB

Total Files

30

Last publish

Collaborators

  • liqiang0335