My Angular application in Windows10, throwing getting error when using ng build –prod. This is working for ng build. My project using 4 json files in assets folder. One file size is 21 MB and 3 other are 4-5 MB. If I remove 21MB file, it is working properly. PS D:ProjectPathProject1> ng build –prod Option ..