Skip to content

build: let bundlers discard unused player code - #59

Open
Stoffberg wants to merge 1 commit into
masterfrom
build/side-effects-free
Open

Stoffberg wants to merge 1 commit into
masterfrom
build/side-effects-free

Conversation

@Stoffberg

Copy link
Copy Markdown
Collaborator

Summary

Importing one control could retain unused player code. Bundlers can now discard unused modules while keeping the caption renderer registered.

Testing

  • Bundled an app using only PlayPause; unused controls were removed.
  • Bundled caption playback; renderer registration was retained and the package and docs builds passed.

@vercel

vercel Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
react-av-uegr Ready Ready Preview Oct 12, 2026 8:18am UTC

This branch was successfully deployed

1 active deployment
Preview — a5feeb1b Deployed Oct 12, 2026 by vercel[bot]
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