-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Umd folder #1704
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
base: master
Are you sure you want to change the base?
Umd folder #1704
Conversation
…'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)
🦋 Changeset detectedLatest commit: 65dd85e 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
I just realized this is missing changes to package.json file which include the umd files in npm packages (otherwise this won't be saved by jsdelivr:
it needs to be this instead:
|
Create a new
umd
folder alongsidedist
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.umd.cjs
dist files to.umd.js
to satisfy jsdelivr #1687 (just rename.cjs
to.js
) was rejected due to the the dual package hazard, and produces a warning when run through publint.dev (which was the original motivation for changing to .cjs).cjs
with the correct mime type: Browsers refuse scripts withapplication/node
mime type jsdelivr/jsdelivr#18584