export serializeNodeWithId so rrweb could serialize newly added nodes

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent cfc8798b53
commit 9cf2c4c7ed
3 changed files with 14 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
import snapshot from './snapshot';
import snapshot, { serializeNodeWithId } from './snapshot';
import rebuild from './rebuild';
export * from './types';
export { snapshot, rebuild };
export { snapshot, serializeNodeWithId, rebuild };