vite_ruby
vite_ruby copied to clipboard
feat: allow options to be passed to legacy helpers
Description 📖
Allows additional options to be passed to the vite_plugin_legacy rails tag helpers. This way we can do something like:
<%= vite_legacy_typescript_tag('application', nonce: 'abc123') %>
Background 📜
This was happening because the helpers didn't accept **options like the vite_rails helpers do.
The Fix 🔨
Adding **options to the tag helpers