Closed 0cv closed 8 years ago
I'm using it in our development since my pull request, and it works as long as you're mindful, but it's clearly a bit fragile and there are cases which not work. Among others:
export default angular.module(...).config(function("$willNotGetAnnotated"){})
will fail being annotated. But moving the function outside solves the issue.Albeit being fragile, at least we'll be able to get minimal import/export support in ng-annotate. I guess improving it to make it 100% functional will follow. Every little effort helps. Right now I don't have time to do this, but with that merged at least I won't change my toolchain :)
This is a fix for https://github.com/olov/ng-annotate/issues/227 and might help partially that: https://github.com/olov/ng-annotate/issues/237