From 37b5d4b60b070e7dbaf3e4218e295964f2741c34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Stumpp?= <4624747+JStumpp@users.noreply.github.com> Date: Mon, 30 Nov 2020 23:28:11 +0100 Subject: [PATCH] Fix build --- .vuepress/config.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.vuepress/config.js b/.vuepress/config.js index a07b6ca..8485b8a 100644 --- a/.vuepress/config.js +++ b/.vuepress/config.js @@ -48,27 +48,27 @@ module.exports = { },*/ head: [ - ...(process.env.EXPORT_PDF !== 'True' ? ['script', { + process.env.EXPORT_PDF !== 'True' ? ['script', { src: 'https://config.metomic.io/config.js?id=prj:c5c07948-cf96-4555-99ec-3a9bf5ae16ce', crossorigin: 'anonymous', charset: 'utf-8' - }] : []), - ...(process.env.EXPORT_PDF !== 'True' ? ['script', { + }] : ['script', {}], + process.env.EXPORT_PDF !== 'True' ? ['script', { src: 'https://consent-manager.metomic.io/embed.js', crossorigin: 'anonymous', charset: 'utf-8' - }] : []), - ...(process.env.EXPORT_PDF !== 'True' ? ['script', { + }] : ['script', {}], + process.env.EXPORT_PDF !== 'True' ? ['script', { async: true, src: 'https://www.googletagmanager.com/gtag/js?id=UA-131730139-2' - }] : []), - ...(process.env.EXPORT_PDF !== 'True' ? ['script', {}, ` + }] : ['script', {}], + process.env.EXPORT_PDF !== 'True' ? ['script', {}, ` window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-131730139-2'); - `] : []), + `] : ['script', {}], ['link', { rel: 'icon', href: `/logos/icon-512x512.png`