Skip to content
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

Distinguish unmapped indentation from other unmapped content #193

Open
stof opened this issue Nov 1, 2020 · 1 comment
Open

Distinguish unmapped indentation from other unmapped content #193

stof opened this issue Nov 1, 2020 · 1 comment

Comments

@stof
Copy link

stof commented Nov 1, 2020

Is your feature request related to a problem? Please describe.
When generating sourcemaps for its expanded output, dart-sass is leaving all indentation unmapped. This results in a large amount of unmapped content, without being able to figure easily whether we have relevant unmapped content.

Describe the solution you'd like
It would be nice to separate unmapped indentation (defined as whitespace content at the beginning of the line) from other unmapped content and report the percentages separately

@nikolay-borzov
Copy link
Collaborator

I think this issue should be fixed on dart-sass side.
source-map-explorer can't say what unmapped content refers to.

unmappedBytes = totalBytes - mappedBytes - sourceMapCommentBytes - eolBytes;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants