Skip to content

Fix build with Vite - #219

Open
christianalfoni wants to merge 1 commit into
surmon-china:mainfrom
christianalfoni:patch-1
Open

Fix build with Vite#219
christianalfoni wants to merge 1 commit into
surmon-china:mainfrom
christianalfoni:patch-1

Conversation

@christianalfoni

Copy link
Copy Markdown

When you try to build your project with vite (Experienced in latest vitepress) you'll get into rollup during builds issues as the library supports ESM, but its package.json is not defined as such. This property makes build tools properly identify it as an ESM library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant