Back
Question
Asked

Why Marc is removing webpack from wip.co website? What went wrong with webpack?

saw this in telegram on 2022-02-20 so curious 




Context added cause not sure how to add image on question

I've always had problems with webpack and webpacker (the tool that integrats webpack into Rails). It might simply be because I don't understand enough of the eco-system and I never bothered to really look into it. But with some recent changes to Rails and new alternatives I finally decided to get rid of webpacker altogether. It's actually the new default for Rails apps as many developers had issues with it.

So what do you use if not webpack?

@kimsia I would imagine he moved to import map, which is the rails 7 default - github.com/rails/importmap-ra…

Their rationale is here: world.hey.com/dhh/rails-7-wil…