Index: lib/src/codegen/html_codegen.dart |
diff --git a/lib/src/codegen/html_codegen.dart b/lib/src/codegen/html_codegen.dart |
index 48ef45626ccd2d4f649928268c0911114b368008..f6f2332f630837fa433cc075ae561acfc3a4fd39 100644 |
--- a/lib/src/codegen/html_codegen.dart |
+++ b/lib/src/codegen/html_codegen.dart |
@@ -51,7 +51,8 @@ String generateEntryHtml(HtmlSourceNode root, CompilerOptions options) { |
// Make sure we don't try and add this node again. |
resources.remove(resource); |
- var resourcePath = resourceOutputPath(resource.uri, root.uri); |
+ var resourcePath = |
+ resourceOutputPath(resource.uri, root.uri, options.runtimeDir); |
if (resource.cachingHash != null) { |
resourcePath = _addHash(resourcePath, resource.cachingHash); |
} |
@@ -65,7 +66,8 @@ String generateEntryHtml(HtmlSourceNode root, CompilerOptions options) { |
var fragment = new DocumentFragment(); |
for (var resource in resources) { |
- var resourcePath = resourceOutputPath(resource.uri, root.uri); |
+ var resourcePath = |
+ resourceOutputPath(resource.uri, root.uri, options.runtimeDir); |
var ext = path.extension(resourcePath); |
if (resource.cachingHash != null) { |
resourcePath = _addHash(resourcePath, resource.cachingHash); |