Hacker News new | ask | show | jobs
by masa331 1769 days ago
It's still perfectly possible and valid to use Sprockets instead of webpack in a Rails app. That's what i do with every one of my applications and it works flawlesly
2 comments

When I used to use Rails pre-webpacker I felt like I was constantly fighting with sprockets. Trying to use it with assets from node modules isn't always straightforward, and it's pretty slow (or used to be).
It works until you try using a library not available with Sprocket...
How can it not be available with Sprockets? You can just add .js files.