rrweb icon indicating copy to clipboard operation
rrweb copied to clipboard

Umd folder

Open eoghanmurray opened this issue 4 months ago • 1 comments

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 .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)
  • jsdelivr won't be serving .cjs with the correct mime type: https://github.com/jsdelivr/jsdelivr/issues/18584

eoghanmurray avatar Jun 12 '25 14:06 eoghanmurray