We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59df4dc commit 753acf9Copy full SHA for 753acf9
gatsby-config.js
@@ -366,7 +366,7 @@ module.exports = {
366
id: process.env.GTM_ID,
367
},
368
369
- {
+ process.env.FATHOM_SITE_ID && {
370
resolve: "@raae/gatsby-plugin-fathom",
371
options: {
372
site: process.env.FATHOM_SITE_ID,
@@ -406,5 +406,5 @@ module.exports = {
406
skipIndexing: process.env.INDEX_ON_BUILD !== "true",
407
408
409
- ],
+ ].filter((p) => !!p),
410
};
0 commit comments