Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(@angular/build): print Sass
@warn
location
When using the `@warn` directive, the `span` entry in the warning object is often undefined. Instead, the `stack` property is populated. ```js { "warnings": [ { "deprecation": false, "deprecationType": null, "span": undefined, "stack": "projects/foo/src/app/app.component.scss 1:1 root stylesheet\n", "message": "some message" } ] } ``` ### Before ``` ▲ [WARNING] some message [plugin angular-sass] ``` ### Now ``` ▲ [WARNING] some message [plugin angular-sass] projects/foo/src/app/app.component.scss 1:1 root stylesheet ``` Closes: #27726 (cherry picked from commit 4a879a9)
- Loading branch information