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

Plugins are only loaded in the development environment

Open
#214 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
972
Forks
55
PR merge metrics
No merged PRs in 30d

Description

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 ❤️

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.