- Updated dependencies [
e8e18b5
]:- @amplitude/[email protected]
-
#43
0749d4c
Thanks @jxiwang! - 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 rrweb-io#1033 to see the changes. -
#43
0749d4c
Thanks @jxiwang! - Important: If you don't reference distributed files directly, for example you runimport 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.