-
Bug
-
Resolution: Done
-
Critical
-
1.6.0
-
None
-
1
-
False
-
-
False
-
-
Bug Fix
-
Done
-
-
-
RHDH Dynamic Plugins 3271
Description of problem:
When trying to adjust dependencies for the rhdh build to work with node 23, it turns out that adding a resolution for a native dependency breaks the resolution that's created by package export-dynamic-plugin --suppress-native-package. From the behavior it appears the CLI doesn't add the resolution to the embedded empty package that is used to erase the native code.
Steps to Reproduce
Add "cpu-features": "0.0.10"} to the root rhdh package.json, then also add this same resolution to {{dynamic-plugins/wrappers/backstage-plugin-techdocs-backend-dynamic. The export-dynamic script will then fail with the "you're embedding a native module" error.