| Index: lib/src/paths.dart
|
| diff --git a/lib/src/paths.dart b/lib/src/paths.dart
|
| index 5424736eb923af7224c14f9ad804038d44ded11f..510887d47bbfab1024d727d10df4aabd03b7bc66 100644
|
| --- a/lib/src/paths.dart
|
| +++ b/lib/src/paths.dart
|
| @@ -141,7 +141,7 @@ class PathMapper {
|
| * [target] is not under [_baseDir].
|
| */
|
| String transformUrl(String src, String target) {
|
| - if (new Uri.fromString(target).isAbsolute) return target;
|
| + if (Uri.parse(target).isAbsolute) return target;
|
| if (path.isAbsolute(target)) return target;
|
| return toUrl(path.normalize(path.relative(
|
| path.join(path.dirname(src), target), from: outputDirPath(src))));
|
|
|