Running ng build --prod command after update angularcli to version 8 does not generate index.html inside dist folder.
-
3It's unclear what you're trying to ask here. Can you be more specific?Aaditya Sharma– Aaditya Sharma2019-07-30 09:07:48 +00:00Commented Jul 30, 2019 at 9:07
-
I had update my angularcli from v7 to v8 then i had create a new project, after build that project using --prod flag there is not index.html file generated inside dist folder.Husain– Husain2019-07-30 09:17:26 +00:00Commented Jul 30, 2019 at 9:17
-
@AadityaSharma Now it is clear to you?Husain– Husain2019-07-31 06:32:28 +00:00Commented Jul 31, 2019 at 6:32
Add a comment
|
1 Answer
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.
2 Comments
Agung Sudrajat
the index.html is generated. But why still can't deploy my website?
Agung Sudrajat
It worked, generating index.html file. But why "irebase deploy" didnt work for me?