feat(recorder): lazy-load rrweb and rrweb-player from CDN via SioServiceLibLoader and switch sio-recorder to use the loader

This commit is contained in:
2026-01-02 10:59:51 +00:00
parent 673af0e39c
commit 888ec95185
8 changed files with 1262 additions and 532 deletions

View File

@@ -0,0 +1,13 @@
/**
* CDN versions for lazy-loaded libraries.
* Keep these in sync with package.json for type compatibility.
*/
export const CDN_VERSIONS = {
rrweb: '2.0.0-alpha.4',
rrwebPlayer: '1.0.0-alpha.4',
} as const;
/**
* Base CDN URL for jsdelivr ESM imports
*/
export const CDN_BASE = 'https://cdn.jsdelivr.net/npm';