Fix not importing stylesheet recursively (#39254)

This commit is contained in:
Claire 2026-06-02 17:23:52 +02:00 committed by GitHub
parent b076ef1b1b
commit d1c26c1e27
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -47,7 +47,7 @@ module ViteRuby::ManifestIntegrityExtension
}
end
imports = dev_server_running? ? [] : entries.flat_map { |entry| entry['imports'] }.compact
imports = dev_server_running? ? [] : entries.flat_map { |entry| import_chunks_for(entry) }
{
scripts: script_paths,