fix: syntax error in generator.js

This commit is contained in:
Clark Du 2017-10-25 19:27:51 +08:00 committed by Pooya Parsa
parent d787ab4e0a
commit f5acb6fc0e
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ export default class Generator extends Tapable {
}
const indexPath = join(this.distPath, 'index.html')
if (existsSync(indexPath) {
if (existsSync(indexPath)) {
// Copy /index.html to /200.html for surge SPA
// https://surge.sh/help/adding-a-200-page-for-client-side-routing
const _200Path = join(this.distPath, '200.html')