Skip to content

Conversation

@oleksandr-danylchenko
Copy link
Contributor

Issue

See - #211

In the previous #192, I added the externalizeDeps plugin to the text-annotator package bundle config. It prevents unnecessary inclusion of peer deps in the output.
However, it's relevant for the ES bundle only. On the other hand, the UMD bundle should be standalone and include pre-bundled peer deps.

Changes Made

Added a separate vite.config.umd.ts config that doesn't have the externalizeDeps plugin.

@rsimon rsimon merged commit 1f59cd2 into recogito:main Sep 25, 2025
@oleksandr-danylchenko oleksandr-danylchenko deleted the #211-fix-umd-bundle-deps-inclusion branch September 25, 2025 09:20
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.

2 participants