reactjs/react-rails

Support for Vite

Open

#1.134 aberto em 16 de jun. de 2021

Ver no GitHub
 (15 comments) (31 reactions) (1 assignee)JavaScript (776 forks)batch import
enhancementhelp wanted

Métricas do repositório

Stars
 (6.587 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

This is a feature suggestion, and I imagine it would be a ton of work, so I mainly just wanted to start a thread for discussion.

React-Rails already supports both Sprockets and Webpack. Adding support for Vite would be great. There's a relatively new vite_ruby gem, and the author there commented on the feasibility of using it with react-rails. In my case, the app I wanted to try it with uses SSR, so I didn't get very far in testing it out.

Any thoughts?

Guia do colaborador