Transfer sprockets stuff to new way of doing things for JS and CSS: VITE #748
Labels
dependencies
Pull requests that update a dependency file
maintenance/performance
not new features or bugfixes, but keeping/improving the app running well
update: We're going to try to go with vite. https://vite-ruby.netlify.app/
Definitely NOT transfer to webpacker (it turns out), but transfer to... some yet to be determined new way of doing things, possibly for CSS too.
Webpacker has actually been retired. https://github.com/rails/webpacker/
Rails 7 has a new way(s) of doing things (which we should also be able to use in Rails 6.1), involving jsbundling-rails/cssbundling-rails and/or importmaps-rails. (Also see https://github.com/rails/propshaft)
jsbundling-rails lets you use a variety of possible standard JS bundlers -- we might want to use esbuild?
Then we need to do something for our SASS.... sprockets is on it's way out.
The text was updated successfully, but these errors were encountered: