Skip to content

Remove source map reference from rrweb.min.js to fix Lighthouse warnings #700

@MJM-DEVS

Description

@MJM-DEVS

The production build includes a source map reference in server/public/rrweb.min.js that causes Lighthouse
warnings and browser console 401 errors.

Current Behavior

The file server/public/rrweb.min.js ends with:

//# sourceMappingURL=rrweb.min.js.map

However, the .map file doesn't exist or isn't publicly accessible, causing:
- Lighthouse "Missing source maps" warning with 401 error
- Browser console errors when loading the tracking script via /api/replay.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions