How to compile the Angualar2 and deploy for production?
I have checked lot of websites like This (but this gives error and bundle.min.js
are not usable from index.html
-maybe I am wrong). Also tried to angular-cli but again for RC-4 this is not working.
Wondering what is the best practices, because tsc already creates the js, should they just be imported as individual file (it will be ugly to do so).
PS: There is already questions related to this topic like these . But this is the fundamental requirement , which I am unable to get answer for .