You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
0 commit comments