Skip to content

Code

The running app serves source mapsruntime.source-maps-served

Requesting a script URL + .map returns a source map. Skipped on dev servers.

  • In force Rule runtime.source-maps-served
  • 3 clauses

At a glance

runtime.source-maps-served
Severitymedium
CertaintyObserved — the code as written is the problem
Looks atyour running app, in a real browser
When it runsRuns with --runtime, against your app on localhost

How to fix it

Disable browser source maps for production builds.

Check your own app

Run npx scanlyfix scan --runtime 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 runtime.source-maps-served -- <why>.

All rules

Your code stays
on your machine

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