← Blog · 25 October 2026
Is your app's original source code public? Check for source maps
When Lovable, Bolt or Cursor builds your app, the code is squeezed into small, hard-to-read files. Some setups also publish "source maps": files ending in .map that let the browser show the original, readable version of that code.
That helps when debugging. But in a live app it lets anyone read your code with comments, file names and logic, which makes it easier to find other mistakes.
A quick check:
- Open your live app, press F12 and go to the Sources tab.
- If you see your own folders, like src/components, with readable code, source maps are public.
- Or open a script file and add .map to its address. If you get a file full of code instead of an error page, source maps are public.
To fix it, turn source maps off for production builds and redeploy. In Vite, build.sourcemap is false by default, so check if it was set to true or 'inline' in your config (Vite docs).
Want an outside look at your live app? Run a free scan at Vibe-App Watchdog.