Is enabling full source maps in production a wise default?

· GitHub ·

2 min read Original article ↗

I was just made aware of this thread, and would like us to revert. I fully understand and respect the reasons for why some might feel the necessity to obfuscate their code, but I don't think it's a good default, and I don't think it sends a good message.

I've learned so much from View Source over the years. From structure, to CSS, to JS. That has gotten harder with minification and transpiling. That's a real shame. The web has given us so much. The default should be to give back, in all the ways we can. View Source is a heritage feature that a framework like Rails should go out of its way to pay tribute to.

So. I'd like the source-maps-by-default restored, but with an easy and documented out for people who don't feel they can or will pay tribute to the web in this fashion. Thanks!

Reacted by Mike Li, Justin Searls, Nicolas Maloeuvre, Giovanni Collazo, Sai Prasanna, Alex Fürstenau, Scott Robertson, Javier Pérez, Sulabh Bista, Noah Gibbs and 255 more

Reacted by Robert DeLuca, Ryan Bigg, Kyle Holzinger, doomy [archive], Nick C, Talysson de Oliveira Cassiano, Anthony Hernandez, Tony Drake, Andrew Mason, Anthony Chaudhary and 7 more

Reacted by Konstantinos Gkinis, Shawn, Jonas, Adrien Rey-Jarthon, Ryan Beasse, Lidiane T, Nithin Bekal, Nursoltan Saipolda, Kabiru Mwenja, Alexey Lukin and 14 more

Reacted by Damian Hickey, Niklas Merz, Jason Zimdars, Jits, Scott Robertson, Sulabh Bista, Mateus Vahl, Prajwal Tuladhar, Diogo Felix, Mike Wilson and 119 more

Reacted by Nebojsa Zoric, Tomas Valent, Lidiane T, Nithin Bekal, Nursoltan Saipolda, Michael Ball, Kabiru Mwenja, Alexey Lukin, Vince Martinez, Doug Johnston and 14 more

Reacted by Jake Niemiec, Nursoltan Saipolda, Alexey Lukin, Louis Bacon, Anthony Hernandez, William McMurray, Khuyen Nguyen, Harry White, Dani Akash, William Cantin and 3 more