Rails now doesn't include the media attribute by default for stylesheet_link_tag but the default for vite_javascript_tag has media: 'screen':
rails/rails#41213
It'd be a breaking change but would keep things in line with the new rails defaults.
vite_stylesheet_tag would now also not return a media attribute since it relies on stylesheet_link_tag without any default options.