code-forge-io / code-forge-io/react-router-devtools

be able to disable colors for browser console.log

Offen
#169 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
972
Forks
55
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Hi !

a little suggestion for firefox users...

Logs with colors improve readability and are therefore relevant when they appear in the server-side terminal. However, when this same code is executed on the browser side and the browser does not support colors (Firefox), the developer experience is degraded. Would it be possible to implement an option to disable colors for code written on the browser side?

[better-console-logs](https://github.com/forge42dev/react-router-devtools/blob/1b57656ec96f4fa9858242ece2a1088da3b87487/src/vite/plugin.tsx#L232)

react-router-devtools version: 1.0.5
firefox version: 133 (Linux)

![log](https://github.com/user-attachments/assets/4197a9fb-8026-46a9-b210-7a8850434093)

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.