Skip to content

Commit 5d9f87b

Browse files
spiltcoffeeulivz
authored andcommitted
feat($core): AppContext was still expecting --outDir instead of --dest (#1041)
1 parent e570252 commit 5d9f87b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@vuepress/core/lib/prepare/AppContext.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ module.exports = class AppContext {
5656
this.base = this.siteConfig.base || '/'
5757
this.themeConfig = this.siteConfig.themeConfig || {}
5858

59-
const rawOutDir = cliOptions.outDir || this.siteConfig.dest
59+
const rawOutDir = cliOptions.dest || this.siteConfig.dest
6060
this.outDir = rawOutDir
6161
? require('path').resolve(this.cwd, rawOutDir)
6262
: require('path').resolve(sourceDir, '.vuepress/dist')

0 commit comments

Comments
 (0)