3 ms·
Can relate about illegible React stack traces in production builds. One of the reasons in my case was Create-React-App obfuscating ES6 class names, which is jus
by zodiakzz 6y ago
Can relate about illegible React stack traces in production builds. One of the reasons in my case was Create-React-App obfuscating ES6 class names, which is just insane! Just why???! Why throw all code structure away just to save a couple KBs. The worst part is CRA folks acting like dictators when asked to provide an option to toggle that: "Why in heavens earth would you need that?". "You can fork our 30K+ line repo [just to toggle minification] if you want".
Sorry for the off topic rant!
P.S: Yes I know source maps exist. They suck/aren't reliable.
- j-krieger 6y agoYou could also use customize-cra and skip on minifications in about 10 lines of code