I’ve recently started learning angular 2. I’ve covered most of the basics and with my knowledge in JS and HTML, I think I’m ready for developing some custom components.
The problem that I’ve currently is I’m not able find any good tutorials on how to pack your components for distribution on sites like codecanyon.
I know of ng build command, but it seems like it packs all the files and dependencies, which I think will be a problem when you try to distribute as it may cause problems like duplication of files or conflicts.
Can someone please explain or point me to a tutorial on how to deploy your custom angular 2 components?