Closed mjeffw closed 7 years ago
Hi @mjeffw thanks for filing.
I'm currently tackling some build-related issues as part of https://github.com/dart-lang/angular/issues/594, but until then I have the following suggestions:
angular/transform/reflection_remover
You can simply just rely on the angular
transformer, and include it as an entry point:
transformers:
- angular:
entry_points:
- web/main.dart
- test/**_test.dart
If this works for you, please let me know. tl;dr, having multiple different transformer names in pub seems to use a lot of memory/CPU time, and it's not something AngularDart has the ability to fix.
/cc @chalin @kwalrath if we should document this further.
I think we should. dart-lang/site-webdev#658
Taking out angular/transform/reflection_remover worked, thank you!
For me that didn't work.
I also described this in #674
I had a lot of dart files in my "web" directory, also components for angular. Pub build hang until I moved most of the dart files into "lib."
After the build was running again , pub showed me errors again. Dartson was another cause of problems (It's seems not to be maintained anymore) so I'm trying to use built_value package now.
Running "pub build --mode=debug" completes as expected.
Running "pub build --mode=release" never completes.
Turning on --verbosity=all shows the following messages being repeated over and over:
Here is a copy of my pubspec.yaml: