-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Chore: Switch from Sprockets to Propshaft (#4730)
Because: - It is set to become the default asset pipeline library in Rails 8 - Now that css-bundling and js-bundling are fully handling our css and JS, we can switch to Propshaft. This commit: - Moves inline_svg down the Gemfile - there is an issue with load dependency and propshaft. The issue is linked in the Gemfile, we should be able to put it back to where it was once resolved. - Prefix `/` to any URls in CSS files. This is a requirement for Propshaft. - Add The listener gem and use it to watch for file changes. - Local requests were very slow without it - This is [documented in the Propshaft Readme](https://github.com/rails/propshaft?tab=readme-ov-file#improving-performance-in-development)
- Loading branch information
1 parent
18d51fd
commit 01bc33e
Showing
6 changed files
with
26 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters