-
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
No source of warning on SCSS files #27726
Labels
area: @angular/build
freq1: low
Only reported by a handful of users who observe it rarely
severity3: broken
type: bug/fix
Comments
alan-agius4
added a commit
to alan-agius4/angular-cli
that referenced
this issue
May 28, 2024
When using the `@warn` directive, the `span` entry in the warning object is often undefined. Instead, the `stack` property is populated. ```json { "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: angular#27726
alan-agius4
added a commit
to alan-agius4/angular-cli
that referenced
this issue
May 28, 2024
When using the `@warn` directive, the `span` entry in the warning object is often undefined. Instead, the `stack` property is populated. ```json { "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: angular#27726
alan-agius4
added a commit
to alan-agius4/angular-cli
that referenced
this issue
May 28, 2024
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: angular#27726
alan-agius4
added
type: bug/fix
freq1: low
Only reported by a handful of users who observe it rarely
severity3: broken
area: @angular/build
labels
May 28, 2024
alan-agius4
added a commit
that referenced
this issue
May 28, 2024
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
alan-agius4
added a commit
that referenced
this issue
May 28, 2024
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)
celestius0
pushed a commit
to celestius0/angular-cli
that referenced
this issue
Jun 5, 2024
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: angular#27726
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
area: @angular/build
freq1: low
Only reported by a handful of users who observe it rarely
severity3: broken
type: bug/fix
Command
build, serve
Is this a regression?
The previous version in which this bug was not present was
Webpack Builder
Description
When using new ESBuild based builder cannot find source of warning in console
ESBuild output
For component styles
For global styles
Webpack output
For component styles
For global styles
Minimal Reproduction
Any project with specified build system
place anywhere in component stylesheet file or imported file into global stylesheet
Build
Exception or Error
No response
Your Environment
Anything else relevant?
No response
The text was updated successfully, but these errors were encountered: