Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

189
Views
How I hide react code from browser console?

Does anyone know how to hide the code displayed in the browser console?

I use in package.json GENERATE_SOURCEMAP=false and set \"GENERATE_SOURCEMAP=false\" && react-scripts build and run npm run build and delete the .js.map files but it doesn't work...

about 4 years ago · Juan Pablo Isaza
3 answers
Answer question

0

in package.json file as follows. add GENERATE_SOURCEMAP=false to build

about 4 years ago · Juan Pablo Isaza Report

0

if you use create-react-app, create a .env file in the root of the project and paste in GENERATE_SOURCEMAP=false

about 4 years ago · Juan Pablo Isaza Report

0

Create a file called .env in the src folder then add this code GENERATE_SOURCEMAP=false

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!