Closed mario-amazing closed 1 week ago
In a Rails default app setup, the CSS file is loaded twice, resulting in both application.css and application-[digit].css being loaded.
application.css
application-[digit].css
rails new newapp --css=bootstrap --javascript=esbuild -a propshaft --master
rails g scaffold books title:string author:string publication_year:integer
Only one version of the CSS file application-[digit].css should be loaded.
Both application.css and application-[digit].css are loaded.
7
8
3.3
This is a Google Chrome feature, there is only one css file on the web
Description
In a Rails default app setup, the CSS file is loaded twice, resulting in both
application.css
andapplication-[digit].css
being loaded.Steps to Reproduce
Expected Behavior
Only one version of the CSS file
application-[digit].css
should be loaded.Actual Behavior
Both
application.css
andapplication-[digit].css
are loaded.Additional Information
7
and8
3.3