vite_ruby icon indicating copy to clipboard operation
vite_ruby copied to clipboard

⚡️ Vite.js in Ruby, bringing joy to your JavaScript experience

Results 82 vite_ruby issues
Sort by recently updated
recently updated
newest added

### Description 📖 This pull request adds the `crossorigin` attribute to styles injected via the `vite_javascript_tag`. ### Background 📜 Vite adds the `crossorigin` to styles tags by default, see [code...

At [line 27 in `vite_rails/lib/vite_rails/cli.rb`](https://github.com/ElMassimo/vite_ruby/blob/95c247a66d86f15ad9ce783acf92fef96646091b/vite_rails/lib/vite_rails/cli.rb#L27), correct Hanami to Rails: ```rb - # Override: Setup a typical apps/web Hanami app to use Vite. ``` ```rb + # Override: Setup a typical...

### Description 📖 Similar issue as https://github.com/ElMassimo/vite_ruby/issues/189 Our problem is related to [this github issue](https://github.com/vitejs/vite/issues/17929). Everything worked fine until we recently updated vite & vite-ruby. We host our assets on...

bug: pending triage

- [x] I have tried upgrading by running `bundle update vite_ruby`. - [x] I have read the __[troubleshooting section]__ before opening an issue. ### Description 📖 With the following in...

bug: pending triage

[troubleshooting section]: https://vite-ruby.netlify.app/guide/troubleshooting.html - [X] I have tried upgrading by running `bundle update vite_ruby`. - [X] I have read the __[troubleshooting section]__ before opening an issue. ### Description 📖 I...

bug: pending triage

### Description 📖 This pull request ensures that Rails has initialized before running the `vite dev` server. ### Background 📜 I noticed that setting `VITE_RUBY_*` environment variables via `.env.*` files...

Rails now doesn't include the media attribute by default for `stylesheet_link_tag` but the default for `vite_javascript_tag` has `media: 'screen'`: https://github.com/ElMassimo/vite_ruby/blob/98d3d5f452d82cfc25720ed85be83f4b43b45d93/vite_rails/lib/vite_rails/tag_helpers.rb#L44 https://github.com/rails/rails/issues/41213 It'd be a breaking change but would keep things...

planned: 4.0

[troubleshooting section]: https://vite-ruby.netlify.app/guide/troubleshooting.html - [x ] I have tried upgrading by running `bundle update vite_ruby`. - [ ] I have read the __[troubleshooting section]__ before opening an issue. ### Description...

bug: pending triage

[troubleshooting section]: https://vite-ruby.netlify.app/guide/troubleshooting.html - [x] I have tried upgrading by running `bundle update vite_ruby`. - [x] I have read the __[troubleshooting section]__ before opening an issue. ### Description 📖 I...

bug: pending triage

**Is your feature request related to a problem? Please describe.** We use Rails custom environments e.g. staging, unit_test, ... Since run_proxy? has hardcoded env names and logic, it would be...

enhancement