| Index: sdk/lib/_internal/pub/lib/src/barback/dart2js_transformer.dart
|
| diff --git a/sdk/lib/_internal/pub/lib/src/barback/dart2js_transformer.dart b/sdk/lib/_internal/pub/lib/src/barback/dart2js_transformer.dart
|
| index b3b179721a819fec5074e022ef8158ccda4dcff9..3c942a20b28369d78fa2433149da350698b6be48 100644
|
| --- a/sdk/lib/_internal/pub/lib/src/barback/dart2js_transformer.dart
|
| +++ b/sdk/lib/_internal/pub/lib/src/barback/dart2js_transformer.dart
|
| @@ -62,9 +62,9 @@ class Dart2JSTransformer extends Transformer implements LazyTransformer {
|
| bool isPrimary(AssetId id) {
|
| if (id.extension != ".dart") return false;
|
|
|
| - // These should only contain libraries. For efficiency's sake, we don't
|
| + // "lib" should only contain libraries. For efficiency's sake, we don't
|
| // look for entrypoints in there.
|
| - return !["asset/", "lib/"].any(id.path.startsWith);
|
| + return !id.path.startsWith("lib/");
|
| }
|
|
|
| Future apply(Transform transform) {
|
|
|