From a212ec163ff9a0a608ce8537164e0cbe82f8e24c Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Mon, 31 May 2021 13:56:09 +0530 Subject: [PATCH] Fix test --- svelte.config.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/svelte.config.js b/svelte.config.js index f5d52938..d0b5acbc 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -15,9 +15,11 @@ const config = { adapter: adapter({ pages: 'docs' }), - paths: { - base: '/mermaid-live-editor' - }, + paths: process.env['DEPLOY'] + ? { + base: '/mermaid-live-editor' + } + : {}, ssr: false, // hydrate the
element in src/app.html target: '#svelte',