transpilar angular 2

1

If Angular 2 use typescript how do I transpile my project to ecmascript 5 ? I am using angular cli generated by a folder structure I have seen that there is a dist folder that is generated with the command ng build but I want to upload the project to a host but I'm confused I have listened to webPack but I still have doubts I should use angular cli or webPACK

What is the way to transpile to ecmascript5 ?

    
asked by Sergio Romero 16.09.2016 в 00:38
source

1 answer

1

Webpack is a very good option, but the truth is that I have never worked with it and TypeScript , I always work with ES6 .

I recommend that you give a review of its website, you will find a lot of documentation. I also leave you this link that I hope you find useful.

    
answered by 16.09.2016 / 09:05
source