BetterErrors / BetterErrors/better_errors
Sass compilation error shows incorrect file when working with imported files.
Open
- Dominant language
- Ruby
- Stars
- 6.9k
- Forks
- 430
- PR merge metrics
- No merged PRs in 30d
Description
Often times, SASS code is spread scross a number of files. I have a styles.scss which contains
```
@import 'path/to/my-mixin'
@import 'path/to/my-other-mixin'
```
When compilation of _my-mixin.scss fails, better_errors shows an error message along the lines of:
> Sass error in styles.scss on line 41
This is a problem because it is impossible to know which imported mixin contains the error and if the line number is even correct.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.