[go: up one dir, main page]

Skip to content

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:

  1. Run echo "Feature.enable(:vite)" | gdk rails c
  2. Launch bundle exec vite dev
  3. 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:

  1. Run gdk config set vite.enabled true
  2. 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:

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 -->