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
Upon migrating away from Webpacker to jsbundling-rails i am having difficulties finding one alternative way to webpacker asset_pack_path on jsbundling-rails.
The app in question relies heavily on asset_pack_path mainly for images that are shared in both frontend and rails views. asset_pack_path would resolve the path including the file hash but i do not find any alternative in the migration guide
With webpacker both the images imported in js/css files would resolve to the proper path and hash, and within the rails views asset_pack_path would resolve to the same path/hash.
Am i missing something? is there one direct alternative for this helper?
The text was updated successfully, but these errors were encountered:
Upon migrating away from Webpacker to jsbundling-rails i am having difficulties finding one alternative way to webpacker
asset_pack_path
on jsbundling-rails.The app in question relies heavily on
asset_pack_path
mainly for images that are shared in both frontend and rails views.asset_pack_path
would resolve the path including the file hash but i do not find any alternative in the migration guideWith webpacker both the images imported in js/css files would resolve to the proper path and hash, and within the rails views
asset_pack_path
would resolve to the same path/hash.Am i missing something? is there one direct alternative for this helper?
The text was updated successfully, but these errors were encountered: