-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(@angular/build): Auto-CSP support as a part of angular.json schema #28663
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No major concerns on my end here, just want to make sure we agree on the option name and that it's wired up correctly for SSR users.
7c92fa8
to
79a696b
Compare
79a696b
to
c51bb6a
Compare
c51bb6a
to
5d9b563
Compare
5d9b563
to
fd9ac53
Compare
fd9ac53
to
270adc0
Compare
Following up on the logic provided in angular#28639, we want to offer an opt-in option in angular.json to enable the auto-CSP transformation. For now, builds for `ng serve` will have Auto-CSP disabled.
270adc0
to
18ccc2e
Compare
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
PR Checklist
Please check to confirm your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
There are no angular.json configurations to add the auto-csp to the index.html transformation.
Issue Number: N/A
What is the new behavior?
There are angular.json configurations to add the auto-csp to the index.html transformation.
Does this PR introduce a breaking change?
Other information
This PR also contains content from #28639. Please ignore the files changed in that previous PR and instead on