chore: Improvements for codespace (#11667)

- move to vite build instead of dev for codespaces
- disable miniprofiler
This commit is contained in:
Sojan Jose
2025-06-04 00:21:23 -05:00
committed by GitHub
parent 623734a631
commit b70d2c0ebe
3 changed files with 12 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
# frozen_string_literal: true
if Rails.env.development?
if Rails.env.development? && ENV['DISABLE_MINI_PROFILER'].blank?
require 'rack-mini-profiler'
# initialization is skipped so trigger it