不要打包Config*.js
This commit is contained in:
parent
b99923cd90
commit
0afa18eed3
@ -1,7 +0,0 @@
|
|||||||
'use strict'
|
|
||||||
|
|
||||||
module.exports = { // 全大写字母的,代表系统常量,不要在 userConfig 或命令行参数里覆盖。小写驼峰的,是用户可以覆盖的。
|
|
||||||
commanderOptions: [ // 命令行里可以接受的参数。将传给 config.js 里的 commander。每个参数的定义格式是 [参数名,参数键,描述],后两者用于传给commander,取值后覆盖掉Config里的同名变量。
|
|
||||||
['port', '-p, --port <number>', 'web server port']
|
|
||||||
]
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user