File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
modules_dart/transform/lib/src/transform Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -39,8 +39,10 @@ const ALL_EXTENSIONS = const [
3939bool isGenerated (String uri) {
4040 return const [
4141 DEPS_EXTENSION ,
42+ META_EXTENSION ,
4243 NON_SHIMMED_STYLESHEET_EXTENSION ,
4344 SHIMMED_STYLESHEET_EXTENSION ,
45+ SUMMARY_META_EXTENSION ,
4446 TEMPLATE_EXTENSION ,
4547 ].any ((ext) => uri.endsWith (ext));
4648}
Original file line number Diff line number Diff line change @@ -28,7 +28,8 @@ class DirectiveProcessor extends Transformer implements LazyTransformer {
2828 DirectiveProcessor (this .options);
2929
3030 @override
31- bool isPrimary (AssetId id) => id.extension .endsWith ('dart' );
31+ bool isPrimary (AssetId id) =>
32+ id.extension .endsWith ('dart' ) && ! isGenerated (id.path);
3233
3334 @override
3435 declareOutputs (DeclaringTransform transform) {
You can’t perform that action at this time.
0 commit comments