These are chat archives for systemjs/systemjs

9th
Oct 2015
Simon Hampton
@simonh1000
Oct 09 2015 14:19
Anyone got some tips for gulp production builds. My index file is in jade and I need to end up with a version that includes system.js, config.js and the import command for development, and just my bundle.js for production. Can't think of a good way to automate this
Simon Hampton
@simonh1000
Oct 09 2015 14:28
@sgwatgit good luck - I had a quick go at angular2 and found that everything is quickly out of data with both a2 and systemjs moving so fast
scott c
@scoarescoare
Oct 09 2015 15:48
can i use systemjs to define the specific version of a dependency of one of my dependencies?
I'm trying to use react-bootstrap but that depends on npm:uncontrollable
so I'm getting this error:
warn Main entry point not found for npm:uncontrollable@3.1.3.
so I'd rather just force react-bootstrap to use uncontrollable@3.1.1 for example
Guy Bedford
@guybedford
Oct 09 2015 18:28
@scoarescoare this sounds like a jspm issue
in jspm, you can edit the version in the config.js, then run jspm install to have it install it
scott c
@scoarescoare
Oct 09 2015 18:45
This message was deleted
ok thanks!
for some reason it didn't occur to me to manually edit those deps in config.js
Origin1 Technologies
@origin1tech
Oct 09 2015 19:06
@scoarescoare you can edit them and have multiple of them as well. just FYI
scott c
@scoarescoare
Oct 09 2015 20:01

alright well I think I'm running into another issue with react-bootstrap. This first screenshot is of react-bootstrap's index.js.

Screen Shot 2015-10-09 at 2.59.51 PM.png

This file is where I'm trying to import react-bootstrap. But the imported dep results in undefined.
Screen Shot 2015-10-09 at 3.00.34 PM.png
import ReactBootstrap from 'react-bootstrap';
Mike Haas
@mikehaas763
Oct 09 2015 23:33
I've created a plain index.html file. I've added a script element to include node_modules/systemjs/dist/system.js. In dev tools the network tab shows that I'm just loading my index.html file and system.js. However when I look at sources I also see a dist/system.src.js... what's happening!? lol UPDATE: It's a source map... I thought source maps were shown as being loaded in the network tab? hmmm