Skip to content

Commit

Permalink
dev,build 命令descreiption错误
Browse files Browse the repository at this point in the history
  • Loading branch information
chenguzhen87 authored Nov 29, 2019
1 parent 18e152a commit b47f016
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/webpack-box.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ program
.usage('<command> [options]')
.version(packageConfig.version)
.command('build [app-page]')
.description(`构建开发环境`)
.description(`构建生产环境`)
.option('-r, --report', '打包分析报告')
.option('-d, --dll', '合并差分包')
.action(async (name, cmd) => {
Expand All @@ -43,7 +43,7 @@ program
.usage('<command> [options]')
.version(packageConfig.version)
.command('dev [app-page]')
.description(`构建生产环境`)
.description(`构建开发环境`)
.option('-d, --dll', '合并差分包')
.action(async (name, cmd) => {
process.env.NODE_ENV = 'development'
Expand Down Expand Up @@ -105,4 +105,4 @@ if (process.argv[2] && !__name__.includes(process.argv[2])) {

if (!process.argv[2]) {
program.help()
}
}

0 comments on commit b47f016

Please sign in to comment.