These are chat archives for systemjs/systemjs

26th
Apr 2016
ddas016
@ddas016
Apr 26 2016 09:59
I am using aurelia bundler and gulp bundle for bundling my aurelia codes. Post bundling I have to come back and update the path mapping in config.js file. Any idea how to avoid this manual update of config.js file ?
Anton
@z-vr
Apr 26 2016 16:32
Hello, our company Digital Animal is looking to hire a professional Node.js/Go/PostgreSQL developer based in Birmingham, UK (with the head office in London). We develop an innovative digital marketing technology using modern stack and employ agile methodology. Our aim is to transform marketing on the internet from being invasive into rewarding, as well as to encourage genuine recommendations by customers. If you are passionate about JavaScript and the web, if you write your tests and have an analytical mindset and if you would like to work for an amazing startup in the UK, please send your CV through our website: http://digitalanimal.com/software-developer/?AT=7Fyd69. You can also PM me for any questions. Hope to hear from you soon!
Andrew Stoker
@AStoker
Apr 26 2016 19:03
Am I able to dynamically load SystemJS from another script? I'm trying to load up a number of script tags from a singular javascript file in the head (pure javascript, no jquery). Got this working in EVERY BROWSER BUT IE (my hate runs deeper still). It seems that after creating the script tag and inserting it into the head, the onLoad callback when finished still doesn't have System defined. I'm running out of ideas.
Guy Bedford
@guybedford
Apr 26 2016 21:24
@AStoker make sure a promise polyfill is already included in the page. See https://github.com/systemjs/systemjs#promise-polyfill for more info. Also this applies to the latest version specifically, previous versions needed the URl polyfill as well
Amal Hussein
@amalahussein
Apr 26 2016 21:25
hi all, i'm hoping this is an easy question, i've setup a standalone react component that i would like to now bundle to bring into a legacy backbone app, that uses requireJS. I've been reading a few different docs and I'm not sure what the best option would be using minimal cruft
@guybedford seems like u might be online (yaaay!)
Guy Bedford
@guybedford
Apr 26 2016 21:27
@amalahussein sure, a good approach would be a bundle-sfx in jspm 0.16 or a build in jspm 0.17 beta
that can then be loaded as a module itself into the requirejs app
react can also be excluded as a dependency of that too if you want to load it through requirejs rather
jspm 0.17 does have a better workflow around this so it may be advisable to follow http://jspm.io/0.17-beta-guide/static-builds-with-rollup-optimization.html
Amal Hussein
@amalahussein
Apr 26 2016 21:30
ok, i'm on 0.16, but i will try out 0.17 if you think its stable enough
if I want to publish the component on npm, would that still work?