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 📖 In order to inherit all the features of the `javascript_include_tag` it should be used within `vite_client_tag`. Otherwise you won't get CSP support and all other built-in features....

If you try to override a predefined `~` alias with an `resolve.alias = [{ find: '~', replacement: 'foo' }]` config it won't work and default `~` alias would still be...

enhancement

**Is your feature request related to a problem? Please describe.** Similar to rails/webpacker#323 Sprockets supported subresource integrity out of the box. It would be nice if ```ruby vite_javascript_tag 'application', integrity:...

enhancement
planned: 4.0

### Description 📖 When using a Content Security Policy that does not allow `unsafe-inline` scripts, `vite_react_refresh_tag` does not work as inline JS is not allowed. The solution is to enable...

enhancement

**Is your feature request related to a problem? Please describe.** This gem `vite_plugin_legacy` does not insert all the scripts generated by the `@vitejs/plugin-legacy` **Describe the solution you'd like** Also Insert...

enhancement

### Description 📖 This fixes an issue where upgrading to Vite5 was merging old Vite4 and Vite5 manifests together, creating JS errors. ### Background 📜 This was happening because vite_ruby...

Using vite-rails `3.0.17`, vite_ruby `3.5.0`, and vite `5.0.10`, I'm getting this deprecation warning output in my console when running `assets:precompile`. ``` remote: Build with Vite complete: /tmp/build_93418466/public/vite remote: The CJS...

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 📖 The...

bug: pending triage

### Description 📖 _Provide a clear and concise description of what the bug is._ Link to https://vite-rails-demo.herokuapp.com/ in https://github.com/ElMassimo/vite_ruby/tree/main/examples/rails shows a Heroku error page. ### Reproduction 🐞 Visit https://vite-rails-demo.herokuapp.com/ ###...

documentation

Setting `cssCodeSplit` (https://vitejs.dev/config/build-options#build-csscodesplit) to false in order to create a single CSS file as per the documentation: "If disabled, all CSS in the entire project will be extracted into a...

bug: pending triage