Hmm, we use the core wp_script_add_data()
function to add the condition, but they don’t have a way to remove it.
The only way is somewhat hacky, and might not be super update-proof if we ever change the file/handle.
add_action( 'wp_enqueue_scripts', function() {
wp_dequeue_script( 'generate-classlist' );
wp_enqueue_script( 'custom-generate-classlist', get_template_directory_uri() . "/js/classList{$suffix}.js", array(), GENERATE_VERSION, true );
}, 100 );