Current Behavior
Currently the meshery-design-embed uses UMD build, which is dropped in recent versions of react (React 18+).
Desired Behavior
We need to change the build policy to esm and cjs to facilitate the updation of meshery/meshery repository.
Implementation
We need to update the build type in package.json and build the extension. In dist folder we should see two built files with .es and .cjs file extensions.
Contributor Guide