René's URL Explorer Experiment


Title: Provide config to rename `index.html` in `dist` folder · Issue #2241 · angular/angular-cli · GitHub

Open Graph Title: Provide config to rename `index.html` in `dist` folder · Issue #2241 · angular/angular-cli

X Title: Provide config to rename `index.html` in `dist` folder · Issue #2241 · angular/angular-cli

Description: This is a feature request. TL;DR; As a full-stack developer, I want to be able to rename the file extension of the generated HTML file in dist folder, so I can easily integrate it into my server-side project. Right now (beta-15), I can r...

Open Graph Description: This is a feature request. TL;DR; As a full-stack developer, I want to be able to rename the file extension of the generated HTML file in dist folder, so I can easily integrate it into my server-si...

X Description: This is a feature request. TL;DR; As a full-stack developer, I want to be able to rename the file extension of the generated HTML file in dist folder, so I can easily integrate it into my server-si...

Opengraph URL: https://github.com/angular/angular-cli/issues/2241

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Provide config to rename `index.html` in `dist` folder","articleBody":"This is a **feature request**.\n\n\u003e **TL;DR;** As a full-stack developer, I want to be able to rename the file extension of the generated HTML file in `dist` folder, so I can easily integrate it into my server-side project.\n\nRight now (beta-15), I can rename the source HTML file in `angular-cli.json` using the `index` property, but the output file in `dist` is still called `index.html`.\n\nI don't care whether the implementation chooses to carry the name forward from the `index` property, or introduce another property for it.\n## Use Case:\n\nI need to use this inside an ASP .NET MVC application (.NET 4.5 not .NET Core). \n\nMy plan is to:\n1. Include the folder as sub-folder in the project, called say `client`.\n2. Set redirects in the root server-side project to go to `client/dist` when it's not matching files / folders or APIs\n3. Run `ng build --watch` for dev, while IIS is looking at my parent server-side project folder\n\nBut I may well end up needing a legacy layout file, and some other server-side code to run before returning the HTML file, so my plan is to have a root server-side rout + MVC controller that returns the HTML file, using the Razor template engine (a `.cshtml` file, like `Views/Home/Index.cshtml`), which will still have the layout.\n\nBut I still want Webpack to generate the `script` tag etc. So, I want to:\n1. strip everything from the CLI project `index.html` file\n2. Include the generated file, which only has the generated `script` tag etc, in the server-side `Index.cshtml` file.\n\nBut to include it in my server template, it's way easier for me if its extension was `cshtml` not `html`. It's doable without that, but it's too much config, and part of this is showing the guys here how super easy it is to include Angular 2 seamlessly.\n\n**P.S.**\n\nSorry if this sounds like a very complex scenario, I believe it really isn't, and it's awesome to have something like this to integrate Angular 2 with server-side frameworks; and the change -I hope- isn't a big one really to support this.\n\nThanks a lot for creating such an awesome starter that makes developing Angular 2 much easier, and making it available for everyone for free, while you definitely do not have to, and owe nothing to any of us.\n","author":{"url":"https://github.com/Meligy","@type":"Person","name":"Meligy"},"datePublished":"2016-09-20T05:49:49.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/2241/angular-cli/issues/2241"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:9c59aa8b-def9-9bc7-fc0e-353e7eca66ce
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDEBE:CCF64:163CD90:1D2FF5C:6992C1D8
html-safe-noncecb913e9c028bfc10ea894295a1e9789163cfbc5fc240531676869e9388a5e687
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERUJFOkNDRjY0OjE2M0NEOTA6MUQyRkY1Qzo2OTkyQzFEOCIsInZpc2l0b3JfaWQiOiIyNjEzNTg0ODI2NTYxOTA1MTEyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaced43cbe87e58526d8226660ab22ba87f985f0ae83cb7b64740875f33709546af
hovercard-subject-tagissue:177970579
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/2241/issue_layout
twitter:imagehttps://opengraph.githubassets.com/e44de54ed83a9684b95fad32918efd7e924d61d87380cc9bed4c4369676beabe/angular/angular-cli/issues/2241
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e44de54ed83a9684b95fad32918efd7e924d61d87380cc9bed4c4369676beabe/angular/angular-cli/issues/2241
og:image:altThis is a feature request. TL;DR; As a full-stack developer, I want to be able to rename the file extension of the generated HTML file in dist folder, so I can easily integrate it into my server-si...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameMeligy
hostnamegithub.com
expected-hostnamegithub.com
None42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b
turbo-cache-controlno-preview
go-importgithub.com/angular/angular-cli git https://github.com/angular/angular-cli.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id36891867
octolytics-dimension-repository_nwoangular/angular-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id36891867
octolytics-dimension-repository_network_root_nwoangular/angular-cli
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release84dcb133269e3cfe6e0296cc85fbacb92cae92bb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/angular/angular-cli/issues/2241#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F2241
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F2241
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=angular%2Fangular-cli
Reloadhttps://github.com/angular/angular-cli/issues/2241
Reloadhttps://github.com/angular/angular-cli/issues/2241
Reloadhttps://github.com/angular/angular-cli/issues/2241
angular https://github.com/angular
angular-clihttps://github.com/angular/angular-cli
Notifications https://github.com/login?return_to=%2Fangular%2Fangular-cli
Fork 11.9k https://github.com/login?return_to=%2Fangular%2Fangular-cli
Star 27k https://github.com/login?return_to=%2Fangular%2Fangular-cli
Code https://github.com/angular/angular-cli
Issues 260 https://github.com/angular/angular-cli/issues
Pull requests 21 https://github.com/angular/angular-cli/pulls
Actions https://github.com/angular/angular-cli/actions
Security 1 https://github.com/angular/angular-cli/security
Insights https://github.com/angular/angular-cli/pulse
Code https://github.com/angular/angular-cli
Issues https://github.com/angular/angular-cli/issues
Pull requests https://github.com/angular/angular-cli/pulls
Actions https://github.com/angular/angular-cli/actions
Security https://github.com/angular/angular-cli/security
Insights https://github.com/angular/angular-cli/pulse
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/2241
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/2241
Provide config to rename index.html in dist folderhttps://github.com/angular/angular-cli/issues/2241#top
P5The team acknowledges the request but does not plan to address it, it remains open for discussionhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22P5%22
https://github.com/Meligy
https://github.com/Meligy
Meligyhttps://github.com/Meligy
on Sep 20, 2016https://github.com/angular/angular-cli/issues/2241#issue-177970579
P5The team acknowledges the request but does not plan to address it, it remains open for discussionhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22P5%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.