cli: add support for forcing use of react development when building

Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
This commit is contained in:
MT Lewis
2024-07-17 17:08:02 +01:00
parent 2075ec269a
commit ee2b0e5433
2 changed files with 48 additions and 4 deletions
+8
View File
@@ -0,0 +1,8 @@
---
'@backstage/cli': patch
---
Add ability to force use of the development versions of `react` and `react-dom`
by setting the `FORCE_REACT_DEVELOPMENT` environment variable to `true` when
building, for example by using a command like `FORCE_REACT_DEVELOPMENT=true yarn
build:all`.