From 1abaeeb15d15cee17d92fa8399342f805d014e9f Mon Sep 17 00:00:00 2001 From: Claire Date: Fri, 14 Nov 2025 15:31:13 +0100 Subject: [PATCH] Fix cross-origin handling of CSS modules --- lib/vite_ruby/sri_extensions.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/vite_ruby/sri_extensions.rb b/lib/vite_ruby/sri_extensions.rb index d97ab352da0..31363272bfa 100644 --- a/lib/vite_ruby/sri_extensions.rb +++ b/lib/vite_ruby/sri_extensions.rb @@ -107,6 +107,7 @@ module ViteRails::TagHelpers::IntegrityExtension stylesheet, integrity: vite_manifest.integrity_hash_for_file(stylesheet), media: media, + crossorigin: crossorigin, **options ) end