Tell HN: Check source maps in your production builds
4 years ago
I discovered that some popular frontend frameworks put source maps along with minified JS by default. That was surprising and unexpected behaviour. It exposes all your frontend source code for everyone. If you don't want to open source your frontend, you might want to remove those source maps from public access. I checked few web apps from Show HN page and 2/3 were with source maps (and all sources exposed).
No comments yet
Contribute on Hacker News ↗