Skip to content

Commit

Permalink
Fix regression caused by #28395
Browse files Browse the repository at this point in the history
See comment on #28395 (comment)
  • Loading branch information
aristath committed Jan 25, 2021
1 parent 5c24a7d commit cc5942e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/packages/build-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' ]
: []
)
Expand Down

0 comments on commit cc5942e

Please sign in to comment.