Use the link https://github.com/AngularClass/angular2-webpack-starter. It 
may provide the solution. It has reduced the project size from 190 MB to 6 
MB with all the dependencies.

On Friday, February 5, 2016 at 3:24:01 PM UTC+5:30, Ignazio Di Napoli wrote:
>
> Hello everyone,
>
> what is the recommended way to deploy an AngularJS 2 application?
> I'm thinking about concatenating, minifying and copying just the files I 
> need from libraries. Just after "npm install" the directory I'm working in 
> is about 80MB including the toolchain, and my goal is using Angular to 
> build the UI for a desktop application; I cannot ship the entire 
> node_modules directory.
> I already looked for a solution, but I found many ways which seem to me to 
> integrate in build systems which I think overlap somehow with the ones used 
> in the tutorial and maybe applied to pre-beta versions; I just want to be 
> sure to follow the right way.
>
>
> Thank you
> Ignazio
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to