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:
13
ts_web/services/versions.ts
Normal file
13
ts_web/services/versions.ts
Normal 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';
|
||||
Reference in New Issue
Block a user