- Updated dependencies [
e8e18b5
]:- @amplitude/[email protected]
- @amplitude/[email protected]
-
#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. -
#43
0749d4c
Thanks @jxiwang! - Remove the rrweb-all.js, rrweb-record.js, and rrweb-replay.js files fromrrweb
package. Now you can use@rrweb/all
,@rrweb/record
, and@rrweb/replay
packages instead. Check out the README of each package for more information or check out PR #1033 to see the changes.