diff --git a/bin/packages/build.js b/bin/packages/build.js index 461b4ae6ad365f..eff2fcd732020b 100755 --- a/bin/packages/build.js +++ b/bin/packages/build.js @@ -122,7 +122,7 @@ function createStyleEntryTransform() { // block-library package also need rebuilding. if ( packageName === 'block-library' && - [ 'style.scss', 'editor.scss' ].includes( + [ 'style.scss', 'editor.scss', 'theme.scss' ].includes( path.basename( file ) ) ) {