Re:Rails 6 with Webpacker 6, Tailwind 2 with JIT, Postcss 8 ...
by masa331 on Sunday August 15, 2021 @10:54AM
(#28189235)
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
[ Parent
| on HN ]
Re:Rails 6 with Webpacker 6, Tailwind 2 with JIT, Postcss 8 ...
by ch4s3 on Sunday August 15, 2021 @11:02AM
(#28189303)
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).
Re:Rails 6 with Webpacker 6, Tailwind 2 with JIT, Postcss 8 ...
by Madeindjs on Sunday August 15, 2021 @12:06PM
(#28189864)
It works until you try using a library not available with Sprocket...
Re:Rails 6 with Webpacker 6, Tailwind 2 with JIT, Postcss 8 ...
by sleepyhead on Sunday August 15, 2021 @02:17PM
(#28190954)
How can it not be available with Sprockets? You can just add .js files.