Skip to content

Infrastructure & CI

Source maps published with the production buildinfra.production-source-maps

Public source maps hand anyone your original, readable source — component logic, API routes the client calls, comments, sometimes internal URLs and keys that were "only in the frontend".

  • In force Rule infra.production-source-maps
  • 3 clauses

At a glance

infra.production-source-maps
Severitymedium
CertaintyObserved — the code as written is the problem
Looks atyour source code
When it runsRuns on every scan

How to fix it

Turn browser source maps off for production (or upload them privately to your error tracker with `hidden` source maps).

Check your own app

Run npx scanlyfix scan in your project. Every finding gets an id; after fixing, npx scanlyfix verify <id> proves it is gone.

If it is a false positive in your project, silence that one line with // scanlyfix-ignore-next-line infra.production-source-maps -- <why>.

All rules

Your code stays
on your machine

Only findings are uploaded, and only to your own dashboard.