diff --git a/config/transforms/html-config.js b/config/transforms/html-config.js
index 61df5f05..7078f316 100644
--- a/config/transforms/html-config.js
+++ b/config/transforms/html-config.js
@@ -11,6 +11,7 @@ module.exports = (eleventyConfig) => {
minifyCSS: true,
minifyJS: true,
removeComments: true,
+ processScripts: ['application/ld+json'], // minify JSON-LD scripts
})
}
return content