We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be82e09 commit e32d90bCopy full SHA for e32d90b
bin/vuepress.js
@@ -36,7 +36,8 @@ program
36
.description('build dir as static site')
37
.option('-d, --dest <outDir>', 'specify build output dir (default: .vuepress/dist)')
38
.option('--debug', 'build in development mode for debugging')
39
- .action((dir = '.', { debug, outDir }) => {
+ .action((dir = '.', { debug, dest }) => {
40
+ const outDir = dest ? path.resolve(dest) : null
41
wrapCommand(build)(path.resolve(dir), { debug, outDir })
42
})
43
0 commit comments