angular-cli
angular-cli copied to clipboard
feat(@angular-devkit/build-angular): support `~` path for `dev-server` ssl
PR Checklist
Please check to confirm your PR fulfills the following requirements:
- [x] The commit message follows our guidelines: https://github.com/angular/angular-cli/blob/main/CONTRIBUTING.md#-commit-message-guidelines
- [ ] Tests for the changes have been added (for bug fixes / features)
- [ ] Docs have been added / updated (for bug fixes / features)
PR Type
What kind of change does this PR introduce?
- [ ] Bugfix
- [x] Feature
- [ ] Code style update (formatting, local variables)
- [ ] Refactoring (no functional changes, no api changes)
- [ ] Build related changes
- [ ] CI related changes
- [ ] Documentation content changes
- [ ] Other... Please describe:
What is the current behavior?
When utilizing the @angular-devkit/build-angular:dev-server (serve) builder for local development of applications with SSL, it's not possible to set a default value in the project configuration using ~. Instead, you must specify it through arguments, move it to the workspace, or wrap the Angular builder.
Issue Number: N/A
What is the new behavior?
This PR will manage the use of ~ for the sslCert and sslKey options.
Does this PR introduce a breaking change?
- [ ] Yes
- [x] No