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

137
Views
Angular 4/Ionic3 production build changes components classname

When running a production build of my app I noticed that the classes names changed. For example, a page component called "Search" changed to "t". This breaks my app because I need to identify the component by It's name in some place.

How could I retrieve the real name of the classes?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

This happens because --prod runs a uglifier which seems to be changing the names of the classes.

Solution: change the architecture of my app to not depend on the class name.

over 4 years ago · Santiago Trujillo 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!