From cc5942e538bb7eb620169b82b58abdd168467383 Mon Sep 17 00:00:00 2001 From: Ari Stathopoulos Date: Mon, 25 Jan 2021 15:36:46 +0200 Subject: [PATCH] Fix regression caused by #28395 See comment on https://github.com/WordPress/gutenberg/pull/28395#issuecomment-766804476 --- bin/packages/build-worker.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/packages/build-worker.js b/bin/packages/build-worker.js index c3ed399bb08fa..04ad4180ad22c 100644 --- a/bin/packages/build-worker.js +++ b/bin/packages/build-worker.js @@ -111,7 +111,8 @@ const BUILD_TASK_BY_EXTENSION = { // Editor styles should be excluded from the default CSS vars output. .concat( file.includes( 'common.scss' ) || - ! file.includes( 'block-library' ) + ( ! file.includes( 'block-library' ) && + ! file.includes( 'editor-styles.scss' ) ) ? [ 'default-custom-properties' ] : [] )