From eadc414329d851eeea2b30f836f74f2a251d4959 Mon Sep 17 00:00:00 2001 From: Chauncey McAskill Date: Wed, 3 Nov 2021 16:16:08 -0400 Subject: [PATCH] Fix merging of default options for PostCSS Amends 9e3d304654ddfebfed02ece517a312117119f2d5 --- build/tasks/styles.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/tasks/styles.js b/build/tasks/styles.js index 0e9d39b..7dd5f6d 100644 --- a/build/tasks/styles.js +++ b/build/tasks/styles.js @@ -88,8 +88,8 @@ export default async function compileStyles(sassOptions = null, postcssOptions = postcssOptions = productionPostCSSOptions; } else if ( postcssOptions !== false && - postcssOptions !== developmentSassOptions && - postcssOptions !== productionSassOptions + postcssOptions !== developmentPostCSSOptions && + postcssOptions !== productionPostCSSOptions ) { postcssOptions = Object.assign({}, defaultPostCSSOptions, postcssOptions); }