From 376d86eb4923e4eea4544a83cb0ba056f6c5bd31 Mon Sep 17 00:00:00 2001 From: Lukas Stracke Date: Wed, 13 Sep 2023 10:18:04 +0200 Subject: [PATCH] avoid empty line when not self-hosted --- src/nextjs/templates.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/nextjs/templates.ts b/src/nextjs/templates.ts index 5327cbf2..1ea754ab 100644 --- a/src/nextjs/templates.ts +++ b/src/nextjs/templates.ts @@ -10,9 +10,8 @@ export function getNextjsWebpackPluginOptionsTemplate( // Suppresses source map uploading logs during build silent: true, -${selfHosted ? ` url: "${url}"` : ''} org: "${orgSlug}", - project: "${projectSlug}", + project: "${projectSlug}",${selfHosted ? `\n url: "${url}"` : ''} }`; }