I’ve been working on the issue of dependency upgrade.
I’ve ran into this issue of UMD build failing as React 18+ doesn’t support the use of the React internal APIs and the official React website recommends to remove any code that depends on internals.
I’ve attached some screenshots for your reference:
Edit:
I’ve tried changing the build to es and cjs and testing it locally in sistent but I’m getting another error.
Module not found: ESM packages (@layer5/meshery-design-embed) need to be imported. Use ‘import’ to reference the package instead. ESM packages need to be imported | Next.js
The meshery-design-embed is building properly and dist folder have the .es and .cjs files.
