mirror of
https://github.com/danog/dart-sass.git
synced 2024-11-30 04:39:03 +01:00
Load files from their canonical URLs in compileStylesheet()
This commit is contained in:
parent
f074152f61
commit
a511716397
@ -93,7 +93,7 @@ Future<Stylesheet> _parseStylesheet(
|
||||
// else imports it.
|
||||
if (source != null && options.indented == null) {
|
||||
return importCache.importCanonical(new FilesystemImporter('.'),
|
||||
p.toUri(p.absolute(source)), p.toUri(source));
|
||||
p.toUri(p.canonicalize(source)), p.toUri(source));
|
||||
}
|
||||
|
||||
var text = source == null ? await readStdin() : readFile(source);
|
||||
|
Loading…
Reference in New Issue
Block a user