ng-annotations icon indicating copy to clipboard operation
ng-annotations copied to clipboard

Update to babel 6

Open rodrijuarez opened this issue 8 years ago • 3 comments

It's possible to upgrade this module to babel 6? I've forked the repo and updated babel-loader and babel-core to the 6 version but still got some troubles, all the annotations got broken and could not use ng-annotations in my project. @autobind and @inject annotations were not working as expected at least. I've uploaded in my fork the work done until now, the branch of my fork is called "babel-6-upload"

rodrijuarez avatar Jul 17 '16 17:07 rodrijuarez

Hello @rodrijuarez, this upgrade is already planned soon. I'll come back to you when it's done.

PillowPillow avatar Jul 18 '16 13:07 PillowPillow

I pushed my dev branch so you can see the current state of the migration. (babel-upgrade) More than a simple update, I'm refactoring the code and the structure of the library. Currently, only the "Component" decorator is missing but i need to think a bit about this one, cause I want to implement the angular version.

PillowPillow avatar Jul 19 '16 03:07 PillowPillow

@PillowPillow Nice! After work I am going to take a look at it, in my branch I just updated the libraries and fixed the simple compatibility errors from one version of babel from another

rodrijuarez avatar Jul 19 '16 13:07 rodrijuarez