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
Earlier code:- def javascript_dir if webpacker? Webpacker::Configuration.source_path .join(Webpacker::Configuration.entry_path) .relative_path_from(::Rails.root) .to_s else 'app/assets/javascripts' end end
Code to fix: def javascript_dir if webpacker? Webpacker.config.source_path .join(Webpacker.config.source_entry_path) .relative_path_from(::Rails.root) .to_s else 'app/assets/javascripts' end end
The term Webpacker::Configuration is chnaged to Webpacker.config and method name entry_path is changed to source_entry_path.
This work for me..!! Hope this works for you guys!
benaubin, codyduval, alexandrapersea, buntine, karimalmur and 4 more