class ViteRuby::DevServerProxy
def file_in_vite_root?(path)
NOTE: When using an empty 'public_output_dir', we need to rely on a
def file_in_vite_root?(path) path.include?('.') && # Check for extension, avoid filesystem if possible. config.vite_root_dir.join(path.start_with?('/') ? path[1..-1] : path).file? end