Skip to content

Update UMD build policy to support ESM and CJS #512

@Pratik-050

Description

@Pratik-050

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions