These are chat archives for systemjs/systemjs

1st
Mar 2016
Maxime Veber
@Nek-
Mar 01 2016 07:38
because there's no need ?!
An import is always sync, right ?
Adam Burgess
@adamburgess
Mar 01 2016 07:42
A dependency is always resolved before your module runs (so, synchronous in a matter of speak), but System.import is async (promise)
Karl Purkhardt
@KarlPurk
Mar 01 2016 10:39

I’m trying to change defaultJSExtensions to false but I don’t seem to be able to get github packages installed via jspm to load after switching this to false.

For example, before turning defaultJSExtensions to false this worked fine:

nodelibs-process@0.1.2.js     304     xhr     system.src.js:4868

After switching defaultJSExtensions to false:

nodelibs-process@0.1.2    303     text/html    system.src.js:4868
nodelibs-process@0.1.2/    404     xhr                    http://localhost:3000/jspm_packages/github/jspm/nodelibs-process@0.1.2
nodelibs-process@0.1.2    303     text/html    system.src.js:4868
nodelibs-process@0.1.2/    404     xhr                    http://localhost:3000/jspm_packages/github/jspm/nodelibs-process@0.1.2

You can see it’s trying to load the folder, not the .js file. However I don’t seem to be able to change this behaviour. I’ve tried path, map and packages, but don’t seem to be able to get the right configuration. Can anyone offer any suggestions?

Guy Bedford
@guybedford
Mar 01 2016 11:00
@KarlPurk only jspm 0.17 supports defaultjsextensions false
Karl Purkhardt
@KarlPurk
Mar 01 2016 11:02
aha, that makes sense. Thanks @guybedford
MCKRUZ
@MCKRUZ
Mar 01 2016 21:25
Guy…is http://jspm.io/0.17-beta-guide/index.html the only documentation for 0.17-beta?
I see your using SystemJS.config instead of System.config now is that a global change?
Sean Anderson
@MeoMix
Mar 01 2016 22:15
Yes it is only the documentation for 0.17-beta
The documentation for 0.16 is scattered throughout the JSPM website itself
I believe the two terms are interchangeable.
but I'm not 100%