Provide a configurable ENV variable to include dev tools even in production builds #2849
-
Currently the inclusion of dev tools is hard coded to require NODE_ENV = production. There are cases, such as production builds on internal environments, where exposing dev tools would be extremely useful for debugging live issues. Is there a workaround to this? What are thoughts on supporting a variable such as |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
have a look here at how to lazy-load the development devtools in production, toggle-able by the console: https://twitter.com/tannerlinsley/status/1392857647037091849 |
Beta Was this translation helpful? Give feedback.
have a look here at how to lazy-load the development devtools in production, toggle-able by the console:
https://twitter.com/tannerlinsley/status/1392857647037091849