P
P
Pavel Shvedov2017-07-07 23:42:28
Angular
Pavel Shvedov, 2017-07-07 23:42:28

How to get rid of index.html in a project created with @angular/cli?

Good evening. The question is the following: there is a project created using @angular/cli, at the root is index.html, which is copied to dist during build and all js bundles are injected into it. I do not need it, in my case the start page of the angular application is generated by the backend from the template, so this index.html is not used. I do not want to keep extra files in the repository, so as not to clog the project. The path to it is specified in .angular-cli.json, but you can’t just remove it from the config, the project stops building, can you build the project without index.html as painlessly as possible?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Abdulla Mursalov, 2017-07-08
@mmmaaak

no way

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question