Add support for Vite
Overview
I'd like to request a support for Vite built into GDK.
Right now you need to do the following to have Vite used instead of Webpack in GDK:
- Run
echo "Feature.enable(:vite)" | gdk rails c
- Launch
bundle exec vite dev
- Restart GDK
I'd like for this process to be streamlined with a help of GDK and GDK config. Instead of the process above it should look similar to that:
- Run
gdk config set vite.enabled true
- Run
gdk reconfigure
It should automatically set the proper feature flag and launch bundle exec vite dev
process in the background. Then it should restart GDK for the changes to actually apply.
Impacted categories
The following categories relate to this issue:
-
gdk-reliability - e.g. When a GDK action fails to complete. -
gdk-usability - e.g. Improvements or suggestions around how the GDK functions. -
gdk-performance - e.g. When a GDK action is slow or times out.
Steps to replicate (optional)
Proposal (optional)
Environment (optional)
- Operating system name:
<!-- output of `uname -a` command -->
- Architecture:
<!-- output of `arch` command -->
- The contents of your
gdk.yml
(if any) - Ruby version:
<!-- output of `ruby --version` command -->
- GDK version:
<!-- output of `git rev-parse --short HEAD` command -->