rrweb
rrweb copied to clipboard
Umd folder
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
- #1687 (just rename
.cjsto.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) - jsdelivr won't be serving
.cjswith the correct mime type: https://github.com/jsdelivr/jsdelivr/issues/18584