[AngularJS] Re: Configure vendor file with angular cli

2018-10-22 Thread Srinivas Sria
Title: new angular development features and improvements with error handling webinar by google employees What we’ll cover in this webinar... Any error you can fix after this webinar 1. Angular error handling with latest strategies 2. New tips to write clean and per-formant angular application 3.

[AngularJS] Re: Configure vendor file with angular cli

2018-10-08 Thread Sander Elias
Hi Christophe, Can you, as a debug step upgrade your CLI to the latest version (7rc2) temporary? (not 100% sure this will work with ng6, but 90% ;) ) Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubs

[AngularJS] Re: Configure vendor file with angular cli

2018-10-08 Thread Christophe HOARAU
Thank you, but I have two problems. First if the main file is very big (over 10m) it takes ages to open in the debugger (chrome). Secondly I'm not able to enable sourcemap in production builds. When I have "buildOptimizer": true and "sourceMap": true I have the following error : ERROR in S:/n

[AngularJS] Re: Configure vendor file with angular cli

2018-10-08 Thread Sander Elias
Hi Christophe, If you deliver the `.map` files with your app debugging will work fine, no matter how your files are bundled. This happens during develop time automatically. for production, you have to set some flags. If that's what you are looking for. Regards Sander -- You received this m

[AngularJS] Re: Configure vendor file with angular cli

2018-10-08 Thread Christophe HOARAU
Thanks but I'm quite surprised, with my previous webpack build most of my application size was in my vendor file, now it's in my main file which is not always great for debugging. Thanks for the advice about vendor file oversize, but I was willing (not yet sure) to create a common vendor file f

[AngularJS] Re: Configure vendor file with angular cli

2018-10-08 Thread Sander Elias
Hi Christophe, The CLI analyzes your bundles and optimizes it for optimal use. Things out of node_modules that are used in multiple modules end up in vendor automatically. But if it's used only by 2 modules the CLI creates a small helper bundle and puts it in there. BTW, it turned out that in