cli: simplify changeset

Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
This commit is contained in:
MT Lewis
2024-07-19 13:31:28 +01:00
committed by GitHub
parent 644d4696c2
commit de4cd433c1
+1 -13
View File
@@ -2,16 +2,4 @@
'@backstage/cli': patch
---
Add ability to force use of the development versions of `react` and `react-dom`
to allow for detailed error messages and use of fast-refresh. Note that builds
with the development versions of `react` and `react-dom` should not be
deployed in production.
This feature can be used by setting the `FORCE_REACT_DEVELOPMENT` environment
variable to `true`:
```bash
EXPERIMENTAL_MODULE_FEDERATION=true \
FORCE_REACT_DEVELOPMENT=true \
yarn build:all
```
The experimental module federation build now has the ability to force the use of development versions of `react` and `react-dom` by setting the `FORCE_REACT_DEVELOPMENT` flag.