We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 403727e commit b1f3a4cCopy full SHA for b1f3a4c
packages/@vue/cli-service/bin/vue-cli-service.js
@@ -16,7 +16,21 @@ const Service = require('../lib/Service')
16
const service = new Service(process.env.VUE_CLI_CONTEXT || process.cwd())
17
18
const rawArgv = process.argv.slice(2)
19
-const args = require('minimist')(rawArgv)
+const args = require('minimist')(rawArgv, {
20
+ boolean: [
21
+ // build
22
+ 'modern',
23
+ 'report',
24
+ 'report-json',
25
+ 'watch',
26
+ // serve
27
+ 'open',
28
+ 'copy',
29
+ 'https',
30
+ // inspect
31
+ 'verbose'
32
+ ]
33
+})
34
const command = args._[0]
35
36
service.run(command, args, rawArgv).catch(err => {
0 commit comments