Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions packages/browser/src/entrypoints/lazy-recorder.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// This file is kept only for backwards compatibility.
// In almost every case, if you are manually importing a file you should use posthog-recorder instead.

// This is only here for so that users with cached recorder.ts don't get errors during the transition to lazy loading
// if you have the new eager loaded recording code it will request this file, not `recorder.js`
// so you don't have the problem that clients get new code and a cached recorder.js
Expand Down
3 changes: 2 additions & 1 deletion packages/browser/src/entrypoints/recorder-v2.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
// This is only here for backwards compatibility
// This file is kept only for backwards compatibility.
// In almost every case, if you are manually importing a file you should use posthog-recorder instead.
export * from './recorder'
3 changes: 3 additions & 0 deletions packages/browser/src/entrypoints/recorder.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// This file is kept only for backwards compatibility.
// In almost every case, if you are manually importing a file you should use posthog-recorder instead.

import { record as rrwebRecord } from '@rrweb/record'
import { getRecordConsolePlugin } from '@rrweb/rrweb-plugin-console-record'
import { getRecordNetworkPlugin } from '../extensions/replay/external/network-plugin'
Expand Down
Loading