7

I am building a web application with a React frontend, served by a golang api layer. I don't use Javascript a ton, so I'm not super familiar with the Node build system. Is there a way to set up a script similar to npm run build, but which leaves debugging information intact so that I can effectively use the browser debugger?

D. Scott Boggs
  • 341
  • 4
  • 9

1 Answers1

2

This has been long requested from the CRA team - see issue #1070. The CRA team was a bit hesitant to implement it at first, but there is now over 150 +1 votes, so I'm hopeful it will get done (please vote). Also, that ticket contains multiple stop-gap solutions to the question.

Yuri Astrakhan
  • 8,808
  • 6
  • 63
  • 97