3 ms·
Definitely switch over to sassc-rails, which should give you a massive speed boost. I also run an instance of bin/webpack-dev-server which handles all of my de
by peteforde 7y ago
Definitely switch over to sassc-rails, which should give you a massive speed boost.
I also run an instance of bin/webpack-dev-server which handles all of my dev-time Sass pushing needs.
One thing I'm a little sad about is the decision to continue using sprockets (aka Asset Pipeline) for CSS and images. My understanding is that a lot of gems would break if they changed but I can't help feel an opportunity was lost to bite the bullet and do the big switch all at once. I guarantee you that it's coming.
Luckily, I can say that switching to using Webpack for CSS is very doable. The best instructions are here: https://gist.github.com/andyyou/834e82f5723fec9d2dc021fb7b819517 https://gist.github.com/andyyou/834e82f5723fec9d2dc021fb7b81...