Closed coryrylan closed 2 years ago
Hi there 👋, this is an automated message. To help Clarity keep track of discussions, we automatically lock closed issues after 14 days. Please look for another open issue or open a new issue with updated details and reference this one as necessary.
Describe the bug
In the latest Webpack 5 it will throw an error/warning about the source map paths being incorrect. This is easiest to replicate in create react app but since it's likely a webpack specific issue it could occur in any webpack based build setup.
I believe the solution is to set
sourcemapExcludeSources: true,
to false.https://github.com/vmware/clarity/blob/next/packages/core/rollup.config.js#L75
How to reproduce
Expected behavior
The source map paths should not throw in webpack 5
Versions
Clarity project:
Clarity version:
Framework: