dev-utils,techdocs: use dynamic import instead of require for conditional react-dom

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2023-10-19 10:53:42 +02:00
parent 2bbd05cf91
commit 67cc85bb14
3 changed files with 32 additions and 16 deletions
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/dev-utils': patch
'@backstage/plugin-techdocs': patch
---
Switched the conditional `react-dom/client` import to use `import(...)` rather than `require(...)`.