Skip to content

[Bug]: ReferenceError: exports is not defined in ES module scope #1056

@hosamChung

Description

@hosamChung

Preflight Checklist

  • I have searched the issue tracker for a bug report that matches the one I want to file, without success.

What package is this bug report for?

rrweb

Version

"rrweb": "^2.0.0-alpha.4",

Expected Behavior

To start recording when the page is loaded.

Actual Behavior

image

Steps to Reproduce

https://stackblitz.com/edit/next-typescript-nfhzmu?file=pages%2Findex.tsx

Testcase Gist URL

No response

Additional Information

"next": "^12.3.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"rrweb": "^2.0.0-alpha.4",

Metadata

Metadata

Assignees

Labels

2.0bugSomething isn't workinghas PRalready has pull request for it

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions