[openstreetmap/openstreetmap-website] Modernize the asset pipeline (Issue #7248)
Pablo Brasero
notifications at github.com
Tue Jul 21 13:25:41 UTC 2026
pablobm created an issue (openstreetmap/openstreetmap-website#7248)
Not sure that this is in writing anywhere. The closest I have found is https://github.com/openstreetmap/openstreetmap-website/pull/6703#issuecomment-3749903005
Our asset pipeline is behind the times. It's based on Sprockets, which has never been the easiest to work with.
Examples of issues caused by Sprockets in this app:
- https://github.com/openstreetmap/openstreetmap-website/pull/6703: see comments. There was some issue making ESModules work with Sprockets.
- https://github.com/openstreetmap/openstreetmap-website/issues/2185: Sprockets forces us to depend on a file that might not exist, and breaks if the file is not there.
- https://github.com/openstreetmap/openstreetmap-website/issues/2185 and https://github.com/openstreetmap/openstreetmap-website/issues/6679: where we are forced to pin dependencies of Sprockets.
These days, new Rails apps use [Propshaft](https://github.com/rails/propshaft), which is supposed to be simpler and should receive more support going forward, plus we want to keep as close to Rails conventions as possible.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/7248
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/7248 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260721/012c72d9/attachment.htm>
More information about the rails-dev
mailing list