From 24a93e8b8b0f08dc71bb52f99e9729afcd105f86 Mon Sep 17 00:00:00 2001 From: darcoder Date: Wed, 25 Oct 2017 12:20:03 +0300 Subject: [PATCH] Missing ) --- lib/builder/generator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/builder/generator.js b/lib/builder/generator.js index 71a8986d55..3afd1cb79a 100644 --- a/lib/builder/generator.js +++ b/lib/builder/generator.js @@ -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')