index-file-replacer
v1.0.7
Published
In Angular project you can use multiple index file for deployment, like index1 for staging/Qa environment index2 for production environment, you can replace dist index file with any other index file
Downloads
3
Maintainers
Readme
Angular Index.html file replacer
you can use multiple index file for deployement. index1.html index2.html index3.html
"scripts":{
"build": "ng build && npm run-script copy-index-file",
"copy-index-file":"node node_modules/index-file-replacer/lib/ --index=index2.html"
}
npm run-script build
run this command to build project first it will build the project then it will copy the index2.html to dist folder with name index.html