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
dart-sass always returns absolute file URLs like file:///absolute/path/to/src/input.css
in the sources array of result.map
also when i enter relative filepaths like src/input.css
is there a way to get relative file paths in result.map.sources?
im looking for the equivalent of options.source_map_file_urls in libsass
// libsass/src/source_map.cppif (ctx.c_options.source_map_file_urls) {
source = File::rel2abs(source);
// check for windows abs pathif (source[0] == '/') {
// ends up with three slashes
source = "file://" + source;
} else {
// needs an additional slash
source = "file:///" + source;
}
}
but i had no luck grepping through dart-sass sources