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

Plugins are only loaded in the development environment

Đang mở
#214 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
972
Fork
55
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

I specified a `pluginDir` and the plugins are being loaded correctly. I would also like to use the dev tools in production, so I set `includeInProd` to `true` for `client`, `server`, and `devTools`. However, my plugins do not appear in the live environment.

If I interpret [this line](https://github.com/forge-42/react-router-devtools/blob/main/src/vite/plugin.tsx#L192) correctly, plugins are only loaded when `NODE_ENV` is set to "development".

Is there a reason for this, and are there any plans to change it?

Thanks a lot for these wonderful React Router dev tools ❤️

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.