You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class Application < Rails::Application
# ...
# require first derailleur, then non-setupid assets that way we're
# mockey patching the latest version of Sprockets::Manifest
require "sprockets-derailleur/manifest"
require "non-stupid-digest-assets"
NonStupidDigestAssets.whitelist += ["sweet_stuff.js"]
In Gemfile:
gem "non-stupid-digest-assets", require: false # we need to require it later, AFTER sprockets-derailleur
It gets the job done. It makes sure the monkey patching happens against derailleur's own monkey patching. :-)
This gem will not work correctly in the context of parallelizing compilation, i.e.
steel/sprockets-derailleur#15
The text was updated successfully, but these errors were encountered: