From e1017449ef5256529ed7bcb8217a65d9bed58432 Mon Sep 17 00:00:00 2001 From: Pete Lumbis Date: Thu, 4 May 2023 16:12:07 -0400 Subject: [PATCH] add LightningCSS options for browser support. Fixes Safari rendering problems Signed-off-by: Pete Lumbis --- postcss.config.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/postcss.config.js b/postcss.config.js index f1654108..1c8c6725 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -1,4 +1,8 @@ -const postcssLightningcss = require("postcss-lightningcss"); +const postcssLightningcss = require("postcss-lightningcss")({ + browsers: ">= .25%", + lightningcssOptions: { + } +}); const purgecss = require('@fullhuman/postcss-purgecss')({ content: ['./hugo_stats.json'],