Farata / dart-template-cache-transformer

Generates template cache for AngularDart components
https://farata.github.io/dart-template-cache-transformer/
MIT License
2 stars 0 forks source link

Does not work with analyzer package >0.22.4 #2

Open adarshaj opened 9 years ago

adarshaj commented 9 years ago

Using this alongside 'dart_style' package is causing issues, the template cache is not being generated with newer analyzer package (specifically 0.24.0), upto 0.22.4 it is working fine, but dart_style doesn't work.

antonmoiseev commented 9 years ago

Thanks for letting us know! If simple upgrading of dependencies will eliminate the problem, I'll fix it this week. However awhile ago Angular team introduced template cache transformer built-in into angular.dart package. It handles more corner cases like relative URLs, respecting debug mode, etc. We already moved to the git version of angular in our apps, so as soon as next version of AngularDart is released, we will deprecate this package.

adarshaj commented 9 years ago

@antonmoiseev I had tried simple upgrading of package, but somehow it didn't work, I couldn't triage the exact problem, so thought of reporting here. Now we too have moved to angular's template cache transformer by moving to their git version. Thanks for suggestion :+1: !

pphegde commented 7 years ago

We were using cache transformer, it was working well. Recently we moved to recent version of dart, and the dependencies got changed, and we are running into this issue. Could you please post a sample pubspec.yaml to use the default angular transformer ? For some reason, for us, cache is not getting generated..Thanks in advance.