Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No index.html in dist folder in angular8

Tags:

angular8

Running ng build --prod command after update angularcli to version 8 does not generate index.html inside dist folder.

like image 643
Husain Avatar asked Jan 27 '23 00:01

Husain


1 Answers

The problem is solved, In angular 8 while I get an error of maximum budget exceeds it builds the dist folder but without index file, while I increase my budget like below:

  "budgets": [
                {
                  "type": "initial",
                  "maximumWarning": "2mb",
                  "maximumError": "10mb"
                }

It works.

like image 96
Husain Avatar answered Mar 07 '23 19:03

Husain