class ViteRuby

def env

ViteRuby.env['VITE_RUBY_CONFIG_PATH'] = 'config/alternate_vite.json'
Example:

Public: Additional environment variables to pass to Vite.
def env
  @env ||= ENV.select { |key, _| key.start_with?(ENV_PREFIX) }
end