class ViteRuby
def run_proxy?
def run_proxy? config.mode == 'development' || (config.mode == 'test' && !ENV['CI']) rescue StandardError => error logger.error("Failed to check mode for Vite: #{ error.message }") false end
def run_proxy? config.mode == 'development' || (config.mode == 'test' && !ENV['CI']) rescue StandardError => error logger.error("Failed to check mode for Vite: #{ error.message }") false end