Skip to content

Conversation

eoghanmurray
Copy link
Contributor

Create a new umd folder alongside dist for output of UMD files with a plain .js instead of .cjs extension, as the latter won't be served with the correct mime type by jsdelivr

eoghanmurray and others added 2 commits May 28, 2025 15:29
…'real' playback, there should be a mount or a keyboard event which will serve to unfreeze the page. Also add other non-user events to the list (we really should have an `isUserEvent` function)
Copy link

changeset-bot bot commented Jun 12, 2025

🦋 Changeset detected

Latest commit: 11d7b39

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

…th a plain `.js` instead of `.cjs` extension, as the latter won't be served with the correct mime type by jsdelivr

 - rrweb-io#1687 (just rename `.cjs` to `.js`) was rejected due to the the 'dual package hazard' [1], and produces a warning when run through publint.dev (which was the original motivation for changing to \.cjs)
 - jsdelivr won't be serving `.cjs` with the correct mime type: jsdelivr/jsdelivr#18584

[1] https://nodejs.org/en/learn/modules/publishing-a-package#the-dual-package-hazard
…will be available after the changes in this PR
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