Base solution for your next web application
Open Closed

How can i reduce Rendered time on angular after my project get larger #5704


User avatar
0
kwanp created

Hi i have some problem after project get larger my angular site it take very long time to finish rendered with "npm start or refresh.bat" command

How can i reduce Rendered time on angular
it stop on "92% after chunk asset optimization SourceMapDevToolPlugin main.js generate SourceMap" for almost 15-20 minutes

ASP.NET Core & Angular is my project type

Thank you


3 Answer(s)
  • User Avatar
    1
    ryancyq created
    Support Team

    you can try exclude source map during the building process.

    see the approach discussed at github

  • User Avatar
    0
    klir created

    Definetly this recudes render time.. but is not good for debugging. I've added 2 scripts in my packages so I can run with and without sourceMap

    "start-nosourcemap": "ng serve --sourceMap=false ...."

  • User Avatar
    0
    alper created
    Support Team

    closing due to inactivity...