Files
rrweb/.changeset/pretty-meals-flash.md
Justin Halsall 2606a2a28f Added changesets for https://github.com/rrweb-io/rrweb/pull/1033 (#1497)
* Add extra changeset describing changes of https://github.com/rrweb-io/rrweb/pull/1033

* Apply formatting changes

* chore: update changelog for PR 1033:

Split plugins out of rrweb and move them into their own packages

Split plugins out of rrweb and move them into their own packages: @rrweb/packer, @rrweb/rrweb-plugin-canvas-webrtc-record, @rrweb/rrweb-plugin-canvas-webrtc-replay, @rrweb/rrweb-plugin-sequential-id-record, @rrweb/rrweb-plugin-sequential-id-replay, @rrweb/rrweb-plugin-console-record, @rrweb/rrweb-plugin-console-replay. Check out the README of each package for more information or check out https://github.com/rrweb-io/rrweb/pull/1033 to see the changes.

* docs: describe changes to distributed files

* Fix snapshot for vitest

* Apply formatting changes

* Make changeset about new bundled files clearer
2024-06-07 16:40:32 +02:00

1.3 KiB

@rrweb/all, @rrweb/packer, @rrweb/rrweb-plugin-canvas-webrtc-record, @rrweb/rrweb-plugin-canvas-webrtc-replay, @rrweb/rrweb-plugin-console-record, @rrweb/rrweb-plugin-console-replay, @rrweb/rrweb-plugin-sequential-id-record, @rrweb/rrweb-plugin-sequential-id-replay, @rrweb/record, @rrweb/replay, rrdom, rrdom-nodejs, rrweb, rrweb-player, rrweb-snapshot, @rrweb/types
@rrweb/all @rrweb/packer @rrweb/rrweb-plugin-canvas-webrtc-record @rrweb/rrweb-plugin-canvas-webrtc-replay @rrweb/rrweb-plugin-console-record @rrweb/rrweb-plugin-console-replay @rrweb/rrweb-plugin-sequential-id-record @rrweb/rrweb-plugin-sequential-id-replay @rrweb/record @rrweb/replay rrdom rrdom-nodejs rrweb rrweb-player rrweb-snapshot @rrweb/types
major major major major major major major major major major major major major major major major

Important: If you don't reference distributed files directly, for example you run import rrweb from 'rrweb' you won't notice a difference. If you include rrweb in a script tag and referred to a .js file, you'll now have to update that path to include a .umd.cjs file. Distributed files have new paths, filenames and extensions. All packages now no longer include a .js files, instead they include .cjs, .umd.cjs and .mjs files. The .umd.cjs files are CommonJS modules that bundle all files together to make it easy to ship one file to browser environments. The .mjs files are ES modules that can be used in modern browsers, node.js and bundlers that support ES modules. The .cjs files are CommonJS modules that can be used in older Node.js environments.