Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(compiler): provide a private API to perform direct style enc…
…apsulation To support the development of component specific HMR capabilities, the build/serve tooling may need to directly process styles to match the view encapsulation expectations of individual components. To allow for this scenario and to avoid tooling to need to re-implement the emulated encapsulation logic, an private API is now available in the `@angular/compiler` package named `encapsulateStyle` that converts a stylesheet content string to an encapsulated form. This function is not considered part of the public API nor does it have any of its respective support or versioning guarantees.
- Loading branch information