These are chat archives for systemjs/systemjs

7th
Apr 2016
Aniket Agrawal
@anikets43
Apr 07 2016 09:54
I'm using angular 2 with system js. I am almost done with the development, now I have to work on the deployment. Network shows around 12Mb of files loaded at bootstrap. Should I go for gulp or webpack for publish the project?
Peter Müller
@Munter
Apr 07 2016 10:01
jspm builder
Aniket Agrawal
@anikets43
Apr 07 2016 10:18
@Munter Do u have any link/post which helps me to configure. I am newbie in client side development :worried:
Guy Bedford
@guybedford
Apr 07 2016 10:29
systemjs.png
@/all @luukdv did some logo options for SystemJS... feedback would be very welcome.
Christopher Shelley
@basiclaser
Apr 07 2016 10:30
eeeh
ehhh*
they’re all nice
Abhisek Pattnaik
@abhisekp
Apr 07 2016 10:47

2nd one or the last one coz they show some kinda connection. Connection is Power :zap:

altho the last one looks like kart

carlosagsmendes
@carlosagsmendes
Apr 07 2016 10:58
@guybedford 1 seems to have a broken connection :smile:
My favourite is #2
Actually 4. Because it is better balanced
carlosagsmendes
@carlosagsmendes
Apr 07 2016 11:15
Here's a suggestion from a friend @guybedford image
Guy Bedford
@guybedford
Apr 07 2016 11:45
@carlosagsmendes very nice!
Abhisek Pattnaik
@abhisekp
Apr 07 2016 11:59
that's awesome @carlosagsmendes :+1:
More connection and Moar Power :zap:
Vojtech Polivka
@vojtapol
Apr 07 2016 12:46
@Nek- Have you actually used jspm with Angular 2? Because if not, do not recommend it to other people, you will save them a lot of time and frustration. This particular combination is not ready for production AT ALL.
Maxime Veber
@Nek-
Apr 07 2016 12:48
@guybedford i really like the third and the one from is not bad at all @carlosagsmendes ^^
Maxime Veber
@Nek-
Apr 07 2016 13:02
@vojtapol I did, and I said it was tricky !
Vojtech Polivka
@vojtapol
Apr 07 2016 13:04
@Nek- yeah, the right recommendation would be: Sacrifice some runtime performance for now and wait for the toolchain to be ready (wait for Angular team to figure out the production workflow) and avoid wasting tens of hours hacking together some half-assed solution using three unmature products.
Maxime Veber
@Nek-
Apr 07 2016 13:06
For my defense: I also gave some advice in private. ^^ But you're right ofc. My answer was... the quick one :) .
The main problem in all the story IMO is that angular suggest to use systemjs in their doc :/ .
Vojtech Polivka
@vojtapol
Apr 07 2016 13:08
@Nek- No problem, I am just a bit bitter because people led me to this path of doom and I wasted a lot of time ultimately deciding to scrap the production workflow and wait.
Yeah I like SystemJS, it seems to work, but JSPM is finicky and weird. Not sure it will pick up enough momentum.
Maxime Veber
@Nek-
Apr 07 2016 13:08
I was led to this thanks to angular doc, lol. But well, the experience is pretty good.
Vojtech Polivka
@vojtapol
Apr 07 2016 13:10
I had mostly problem with using 3rd party libraries in this setup.. pure angular 2 with jspm would probably work
Maxime Veber
@Nek-
Apr 07 2016 13:10
You mean dependencies of angular?
(let's speak about Zone.js :))
Vojtech Polivka
@vojtapol
Apr 07 2016 13:17
yeah that too.. but you are right, the first mistake is that the official Angular docs still don't offer any production workflow, maybe they expect the release to come out when there is wide support of HTTP2 thus eliminating the need to concatenate files at all
Maxime Veber
@Nek-
Apr 07 2016 13:59
lol
It's not going to happen soon.
Mohammed Tareq
@MTareq
Apr 07 2016 14:41
So i posted this in the jspm room and got nothing, thought i might need to post it here since its more System issue than jspm , so my ng2 transpiled code produces System.register inside the root System.register. which in return throws Invalid System.register call. Anonymous System.register calls can only be made by modules loaded by SystemJS.import, note i am using "babel-plugin-transform-es2015-modules-systemjs". what i am missing here.
Miguel Aragón
@MiguelAraCo
Apr 07 2016 14:43
@vojtapol I'm using Angular2 with JSPM and I haven't had problems with it. What problems have you encounter?
Vojtech Polivka
@vojtapol
Apr 07 2016 14:46
@MiguelAraCo i guess you dont have that project on github right
Maxime Veber
@Nek-
Apr 07 2016 14:47
It's a fake.
It must be.
Miguel Aragón
@MiguelAraCo
Apr 07 2016 14:48
@vojtapol Yes I do
Vojtech Polivka
@vojtapol
Apr 07 2016 14:50
which one is it?
Miguel Aragón
@MiguelAraCo
Apr 07 2016 14:50
@vojtapol I have a private one that has a prod build, and a public one that doesn't
@vojtapol I'm still working on the public one but you can have a look at it here: https://github.com/CarbonLDP/example-blog-app
Maxime Veber
@Nek-
Apr 07 2016 14:51
Every configuration is special :) . Maybe yours doen't lead to problems.
But well it's good to know.
Miguel Aragón
@MiguelAraCo
Apr 07 2016 14:52
:)
Vojtech Polivka
@vojtapol
Apr 07 2016 14:53
@MiguelAraCo lol.. just look at that horrendous gulp file and the amount of overrides in package.json.. So yeah, it works. But are you telling me this is the best the JS community came up with? THIS is the solution? That's just sad. Not even funny.
I think we should strive for simplicity and intuitivness
Miguel Aragón
@MiguelAraCo
Apr 07 2016 14:54
@vojtapol Chill out man
@vojtapol No need to be aggresive
Vojtech Polivka
@vojtapol
Apr 07 2016 14:55
I am not being aggressive and it's not oriented towards you. More of a sigh towards the current state of things.
Maxime Veber
@Nek-
Apr 07 2016 14:55
I have same shitty things in my project :p.
Miguel Aragón
@MiguelAraCo
Apr 07 2016 14:56
Well the overrides in package.json were automatically added by JSPM, and the gulpfile has more tasks that it needs to have because I'm using the project to test another local project
Why do you find it horrendous?
Feedback is always welcomed :)`
Maxime Veber
@Nek-
Apr 07 2016 14:57
in a nutshell: duplicated dependencies ? :)
Vojtech Polivka
@vojtapol
Apr 07 2016 14:58
It's convoluted and complicated for such a tiny project. And it's not your fault, that's my point. It's the problem of these frameworks.
Imagine not making a toy project but an actual production ready real app. How many overrides and custom gulp plugin configuration would we need then?
Maxime Veber
@Nek-
Apr 07 2016 14:58
Did one of you tried to test it with phantomjs?
Vojtech Polivka
@vojtapol
Apr 07 2016 14:58
I didn't even try to make testing work yet. :D Afraid to.
Maxime Veber
@Nek-
Apr 07 2016 14:58
@vojtapol I'm doing it. lol
Miguel Aragón
@MiguelAraCo
Apr 07 2016 14:59
I ditched PhantomJS, it constantly failed with ES2015 transpiled code
Maxime Veber
@Nek-
Apr 07 2016 14:59
And i'm also testing things.
Well, trying to.
Yep, I switched to selenium
Vojtech Polivka
@vojtapol
Apr 07 2016 14:59
We spent a lot of time setting up Protractor I guess that's useless now with ng2
Miguel Aragón
@MiguelAraCo
Apr 07 2016 15:00
I know things can be improved, but we need to drive towards that, not just complain about the current state of things
I have a production ready real app, and the gulpfile doesn't look that bad (at least to me :) )
Vojtech Polivka
@vojtapol
Apr 07 2016 15:02
@MiguelAraCo I complain against people recommending a path that is not viable and therefore wasting other people's time. It's like telling someone to write enterprise app in Turbo Pascal.
Maxime Veber
@Nek-
Apr 07 2016 15:03
@MiguelAraCo notice that i'm not compiling inside the browser. But it still fails with phantom.
Miguel Aragón
@MiguelAraCo
Apr 07 2016 15:04
@Nek- Yeah, PhantomJS behaved randomly even when I compiled before executing the tests
Maxime Veber
@Nek-
Apr 07 2016 15:04
So you tried compilation before execution ?
Was it ok ?
Miguel Aragón
@MiguelAraCo
Apr 07 2016 15:04
No
Maxime Veber
@Nek-
Apr 07 2016 15:04
I'm still having issues with zone.js but it works on my side.
Miguel Aragón
@MiguelAraCo
Apr 07 2016 15:05
Most of the time it worked, but there were times that a single template string would make it crash (but other template strings were fine, it was totally random)
Andrew Stoker
@AStoker
Apr 07 2016 15:30
This issue is hosing our system (systemjs/systemjs#1199). Is there a way we can lock systemjs down to specifically v. 0.19.24?
Peter Müller
@Munter
Apr 07 2016 15:46
@guybedford it's funny how dependency graph tools logos always converge on approximately the same shape :) https://github.com/assetgraph/
Joshua Wiens
@d3viant0ne
Apr 07 2016 17:59
@guybedford @luukdv - What about rotating the fist option clockwise by ~30 degrees? Thinking being that it would read more like an "S".
Miguel Aragón
@MiguelAraCo
Apr 07 2016 18:02
+1
Adam Reis
@adamreisnz
Apr 07 2016 20:15
@guybedford i prefer the first
λex Vincent
@alexisvincent
Apr 07 2016 21:56
I'm getting a minimised version of react when building with JSPM through the node API. How do I get it to bundle the unminified version?
Manuel Pacheco
@ShadowManu
Apr 07 2016 21:59
@guybedford is there an open issue for the logo? I would like to hear more about logo discussions ;)