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?
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?