-
I have a Rails 7 app using importmaps. So no JS bundling tool needed so far. Will I have to switch from importmaps to say es-build in order to get Vite Ruby running? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi Michael! If you are referring to
If for some reason you don't want to bundle certain libraries, you could try an import map plugin for Vite, but it's unusual, and I recommend that you try using plain Vite first. |
Beta Was this translation helpful? Give feedback.
Hi Michael!
If you are referring to
importmap-rails
, you typically wouldn't combine it with Vite Ruby.importmap-rails
is only useful if you don't want to use a tool like Webpack or Viteimportmap-rails
If for some reason you don't want to bundle certain libraries, you could try an import map plugin for Vite, but it's unusual, and I recommend that you try using plain Vite first.