Discourse now ships with production source maps thanks to this patch:
This feature is not built into Rails quite yet with no target release date quite yet, so as developers you are getting a taste of what will be in all apps in 6 months to a year hopefully.
This feature is very important for me cause it paves the road for js frame resolution in logster
Which means that we will easily be able to understand what is going on in errors like this, once we integrate GitHub - mozilla/source-map: Parse and consume source maps. into logster
Cause we can make logster resolve this stuff for us and give us clean backtraces.
I find this very exciting as it makes it much easier to debug Discourse in production
In other news I discovered an optimisation that makes asset precompilation 5 times faster, which will be rolling into the docker image in a week or so. uglify ruby wrapper is real slow. I just measured and moving to nodejs for compilation halves our precompile duration.