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

be able to disable colors for browser console.log

未关闭
#169 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
972
派生
55
PR 合并指标
30 天内没有已合并 PR

描述

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)

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。