Vite Plugin Legacy provides tag helpers to output assets generated by @vitejs/plugin-legacy.
Add this line to your application's Gemfile:
gem 'vite_plugin_legacy'Then, run:
bundle installAdditional installation instructions are available in the documentation website.
The gem is available as open source under the terms of the MIT License.