Skip to content

Commit

Permalink
feat($core): AppContext was still expecting --outDir instead of --dest (
Browse files Browse the repository at this point in the history
  • Loading branch information
spiltcoffee authored and ulivz committed Nov 29, 2018
1 parent e570252 commit 5d9f87b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@vuepress/core/lib/prepare/AppContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ module.exports = class AppContext {
this.base = this.siteConfig.base || '/'
this.themeConfig = this.siteConfig.themeConfig || {}

const rawOutDir = cliOptions.outDir || this.siteConfig.dest
const rawOutDir = cliOptions.dest || this.siteConfig.dest
this.outDir = rawOutDir
? require('path').resolve(this.cwd, rawOutDir)
: require('path').resolve(sourceDir, '.vuepress/dist')
Expand Down

0 comments on commit 5d9f87b

Please sign in to comment.