From 2cd8e4a380550917910e59d22aec4c793044b28a Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Wed, 20 Dec 2023 16:08:00 -0800 Subject: [PATCH] chore: minify json-ld --- config/transforms/html-config.js | 1 + 1 file changed, 1 insertion(+) 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