So seems that is required a patch to fix the issue.
On class-uagb-front-assets.php line 116:
if ( is_archive() || is_home() || is_search() ) {
global $wp_query;
$cached_wp_query = $wp_query->posts;
foreach ( $cached_wp_query as $post ) { // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
$current_post_assets = new UAGB_Post_Assets( $post->ID );
// $current_post_assets->enqueue_scripts();
}
}
Commenting that line prevent this plugin to inject in home, archive and search the JS/CSS of all the blocks used of the plugin. I got like over 400 different enqueue in those pages for blocks that are in other pages.
There isn’t any check here if those pages have blocks…