diff --git a/tools/gutenberg/copy.js b/tools/gutenberg/copy.js index 9eb0550ad18c2..0f197169f7366 100644 --- a/tools/gutenberg/copy.js +++ b/tools/gutenberg/copy.js @@ -595,7 +595,7 @@ async function main() { for ( const file of packageFiles ) { if ( - /^index\.(js|min\.js|min\.asset\.php)$/.test( file ) + /^index\.(js|min\.js)$/.test( file ) ) { const srcFile = path.join( src, file ); // Replace 'index.' with 'package-name.'.