export serializeNodeWithId so rrweb could serialize newly added nodes

This commit is contained in:
Yanzhen Yu
2018-10-09 10:51:30 +08:00
parent f143eee54a
commit d59ba817cb
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 };