Closed tagliala closed 2 months ago
We faced the same issue, ended up adding a monkey patch via an initliazer
module InlineSvg
class WebpackAssetFinder
Webpacker = Shakapacker
if Rails.env.development?
class Shakapacker::DevServer
def https? = false
end
end
end
end
@leondmello can you test this branch? https://github.com/tagliala/inline_svg/tree/feat/support-shakapacker
Apologies for the lack of updates recently. I'll be moving forward with support for Shakapacker 8, roughly following the strategy outlined by @tagliala.
In addition, I'll be bumping this gem to 2.0, at which point it will drop official support for the older versions of Rails and will move to align with the official Rails maintenance policy, which means versions of Rails that have reached end-of-life will not be supported.
@leondmello can you test this branch? https://github.com/tagliala/inline_svg/tree/feat/support-shakapacker
Thanks for the fix! Sorry, couldn't check this earlier.
Shakapacker 8 removed
Webpacker
spelling ref: shakacode/shakapacker#429This is preventing CI to pass: https://github.com/diowa/icare/pull/1725
I'm working on a PR