Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(179)

Unified Diff: sdk/lib/_internal/pub/lib/src/barback/load_all_transformers.dart

Issue 198053009: Use real "package:" imports in pub's plugin-loading code. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: code review Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sdk/lib/_internal/pub/lib/src/barback/load_all_transformers.dart
diff --git a/sdk/lib/_internal/pub/lib/src/barback/load_all_transformers.dart b/sdk/lib/_internal/pub/lib/src/barback/load_all_transformers.dart
index 2e820a3628d98fd7e187da63918b18855085c6ff..fcfb3d0712fa3748a3f9e38232f30c3a57d4e174 100644
--- a/sdk/lib/_internal/pub/lib/src/barback/load_all_transformers.dart
+++ b/sdk/lib/_internal/pub/lib/src/barback/load_all_transformers.dart
@@ -63,6 +63,7 @@ Future loadAllTransformers(BuildEnvironment environment,
for (var package in environment.graph.packages.values) {
environment.barback.updateTransformers(package.name, [[rewrite]]);
}
+ environment.barback.updateTransformers(r'$pub', [[rewrite]]);
var orderingDeps = _computeOrderingDeps(environment.graph);
var packageTransformers = _computePackageTransformers(environment.graph);

Powered by Google App Engine
This is Rietveld 408576698