[AngularJS] Angular CLI and production build output filename issue

2017-01-10 Thread Thierry Ciot
We are starting to use the CLI tool and have only one last problem to get going. We need to include the build artifacts from a JSP page but the tool produces file names with a variable postfix (for example, postfix c0125ba6898c5b393214 in main.c0125ba6898c5b393214.bundle.js). Is there a way t

[AngularJS] Re: how to actually Build an Angular2 App

2017-01-13 Thread Thierry Ciot
You can use Angular CLI tool to create bundles and then include these bundles from your page. See CLI command ng build -prod. Thierry On Thursday, January 12, 2017 at 2:53:33 PM UTC-5, Patrick Caillouet wrote: > > I'm a noob to Angular2, Node, NPM, Git but not Html/css/JS. > > I was able to set

[AngularJS] Re: Angular CLI and production build output filename issue

2017-01-13 Thread Thierry Ciot
Hi, Am I the only one running into this or is the CLI tool not that used yet? Thanks. On Tuesday, January 10, 2017 at 4:51:08 PM UTC-5, Thierry Ciot wrote: > > We are starting to use the CLI tool and have only one last problem to get > going. > We need to include the build arti

[AngularJS] Re: Angular CLI and production build output filename issue

2017-01-13 Thread Thierry Ciot
yes it helps to get confirmation that we haven't overlook a possible solution. We will then have to do implement a post build step to rename these files to a predicable name. On a side note, I would think it would be really straightforward for the CLI team to add a flag such that the name of t

Re: [AngularJS] Re: Angular CLI and production build output filename issue

2017-01-14 Thread Thierry Ciot
Yes that would be great. Thanks. On Sat, Jan 14, 2017 at 12:59 AM, Sander Elias wrote: > Hi Thierry, > > I can open an issue for this if you want? > > Regards > Sander > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Angular" group. > To unsubscrib

Re: [AngularJS] Re: Angular CLI and production build output filename issue

2017-01-15 Thread Thierry Ciot
Thanks. On Sunday, January 15, 2017 at 10:17:51 AM UTC-5, Sander Elias wrote: > > Hi Thierry, > > It's in. From beta 25 on you can add: --output-hashing=none to your > build command, and it does exactly what you need! > > Regards > Sander > -- You received this message because you are subscrib

[AngularJS] Re: Is PipeTraform necessary ?

2017-01-18 Thread Thierry Ciot
May be this will help you (extracted from https://angular.io/docs/ts/latest/guide/lifecycle-hooks.html): Interface are optional (technically) The interfaces are optional for JavaScript and Typescript developers from a purely technical perspective. The JavaScript language doesn't have interface

[AngularJS] Re: Setting up Angular 2 from Scratch

2017-01-18 Thread Thierry Ciot
Yes that's the feeling you get with Angular 2 compared to other frameworks. It's probably because It has more to offer in a single "package". In other words the ramp-up is takes more time but hopefully it pays off in the end. On Monday, January 16, 2017 at 6:45:18 AM UTC-5, Janshair Khan wrote