Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrates to vite@6 to drop base64 inlined worker source from all bundles #1637

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ruiconti
Copy link

@ruiconti ruiconti commented Jan 24, 2025

Investigation: #1578 (comment)
Motivation: #1568 (comment)

Opening this tentatively to see if there's interest in merging this, so consumers don't have to rely on patches to fix this issue. If there is, happy to comply with all the contributing guidelines, rebases to master, etc.

Resolves #1578

Without this change, build would fail because the produced stylesheet assumes
the `package.json['name']` i.e., `styles/rrweb.css`. To maintain the existing
behavior, these changes are required.

See https://vite.dev/guide/migration.html#customize-css-output-file-name-in-library-mode
@ruiconti ruiconti changed the title Removes base64 inlined worker source from all bundles Migrates to vite@6 to drop base64 inlined worker source from all bundles Jan 24, 2025
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.

[Bug]: Using RRWeb in chrome extension results in obfuscated code
1 participant