From 4ade931df4a0dccd30a94ec3febe3131eca3925b Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Tue, 9 Oct 2018 00:07:12 -0700 Subject: [PATCH] fix($core): correct swapped ssr.html and dev.html --- packages/@vuepress/core/lib/prepare/AppContext.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/@vuepress/core/lib/prepare/AppContext.js b/packages/@vuepress/core/lib/prepare/AppContext.js index f1211fbc09..4be910541d 100644 --- a/packages/@vuepress/core/lib/prepare/AppContext.js +++ b/packages/@vuepress/core/lib/prepare/AppContext.js @@ -182,8 +182,8 @@ module.exports = class AppContext { const { siteSsrTemplate, siteDevTemplate } = this.siteConfig const templateDir = path.resolve(this.vuepressDir, 'templates') - const siteSsrTemplate2 = path.resolve(templateDir, 'dev.html') - const siteDevTemplate2 = path.resolve(templateDir, 'ssr.html') + const siteSsrTemplate2 = path.resolve(templateDir, 'ssr.html') + const siteDevTemplate2 = path.resolve(templateDir, 'dev.html') const { themeSsrTemplate, themeDevTemplate } = this.themeEntryFile