Skip to content

Commit 37b5d4b

Browse files
committed
Fix build
1 parent af29c07 commit 37b5d4b

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.vuepress/config.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,27 +48,27 @@ module.exports = {
4848
},*/
4949

5050
head: [
51-
...(process.env.EXPORT_PDF !== 'True' ? ['script', {
51+
process.env.EXPORT_PDF !== 'True' ? ['script', {
5252
src: 'https://config.metomic.io/config.js?id=prj:c5c07948-cf96-4555-99ec-3a9bf5ae16ce',
5353
crossorigin: 'anonymous',
5454
charset: 'utf-8'
55-
}] : []),
56-
...(process.env.EXPORT_PDF !== 'True' ? ['script', {
55+
}] : ['script', {}],
56+
process.env.EXPORT_PDF !== 'True' ? ['script', {
5757
src: 'https://consent-manager.metomic.io/embed.js',
5858
crossorigin: 'anonymous',
5959
charset: 'utf-8'
60-
}] : []),
61-
...(process.env.EXPORT_PDF !== 'True' ? ['script', {
60+
}] : ['script', {}],
61+
process.env.EXPORT_PDF !== 'True' ? ['script', {
6262
async: true,
6363
src: 'https://www.googletagmanager.com/gtag/js?id=UA-131730139-2'
64-
}] : []),
65-
...(process.env.EXPORT_PDF !== 'True' ? ['script', {}, `
64+
}] : ['script', {}],
65+
process.env.EXPORT_PDF !== 'True' ? ['script', {}, `
6666
window.dataLayer = window.dataLayer || [];
6767
function gtag(){dataLayer.push(arguments);}
6868
gtag('js', new Date());
6969
7070
gtag('config', 'UA-131730139-2');
71-
`] : []),
71+
`] : ['script', {}],
7272
['link', {
7373
rel: 'icon',
7474
href: `/logos/icon-512x512.png`

0 commit comments

Comments
 (0)