image_pack_path is now available from Shackapaker

This commit is contained in:
Gaetan Craig-Riou
2025-12-22 11:26:34 +11:00
parent bb0c1e7a0f
commit 98a2bf5d47

View File

@@ -1,10 +0,0 @@
module WebpackImageExtension
def image_pack_path(image)
# The Webpacker::Helper#resolve_path_to_image method is incredibly useful
# for nicely fetching Webpacker image paths, but it's private.
resolve_path_to_image(image)
end
end
Webpacker::Helper.include WebpackImageExtension