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 an scss@use statement references a file that doesn't exist, I get an error for that page in my development environment (astro dev). While the error and the stack trace correctly point to the problematic line in the CSS (line 2 of the styles in the screenshots below), the center section refers to line 2 of the entire file (the wrong line).
All three sections should point to the same correct line, line 2 of the styles.
Closing as a duplicate of #5465. There's a quite a few cases where the stacktraces are wrong, either due to some things not being linked up together, sourcemaps being wrong / missing etc, so we'll bundle it all in one issue to avoid cluttering too much
What version of
astro
are you using?2.3.3
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
npm
What operating system are you using?
Mac
What browser are you using?
Chrome
Describe the Bug
When an
scss
@use
statement references a file that doesn't exist, I get an error for that page in my development environment (astro dev
). While the error and the stack trace correctly point to the problematic line in the CSS (line 2 of the styles in the screenshots below), the center section refers to line 2 of the entire file (the wrong line).All three sections should point to the same correct line, line 2 of the styles.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-vmnwzv
Participation
The text was updated successfully, but these errors were encountered: