-
For our MaMpf codebase, we finally try to get away from the retired webpacker (yes, it's high time). Thanks a lot for this Vite Ruby project, the documentation looks very promising so far. One annoyance we encounter is that our codebase is still sprinkled by a lot of Now onto Vite Ruby. I'm currently looking for a similar plugin that transpiles those CoffeeScript files for me. Can I use any plugin that works for Vite also for Vite Ruby? Or are there restrictions I should watch out for? Thanks a lot. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi Dominic! Any Vite plugin that can process Coffeescript files should do the trick. A potential difference between Webpack and Vite is that imports should include the |
Beta Was this translation helpful? Give feedback.
Hi Dominic!
Any Vite plugin that can process Coffeescript files should do the trick.
A potential difference between Webpack and Vite is that imports should include the
.coffee
extension, although there are configuration options to avoid that (which I don't recommend because it slows down file lookup).