These are chat archives for systemjs/systemjs

2nd
Jul 2015
Dave Ackerman
@dmackerman
Jul 02 2015 16:56
thanks for that @amcdnl !
Sebastien Dubois
@dsebastien
Jul 02 2015 17:41
@enlait I personally use Gulp and do it in two steps: #1 ES6 -> ES5 & #2: systemjs builder to create a self-contained bundle: https://github.com/dsebastien/midnightLightV2/blob/master/gulp/tasks/scripts-javascript.js & https://github.com/dsebastien/midnightLightV2/blob/master/gulp/tasks/scripts-javascript-dist.js
Dave Ackerman
@dmackerman
Jul 02 2015 18:01
anyone seen the issue with SystemJS 0.18.4 where it tries to load imports that use the !text plugin with a .js extension?
http://localhost:8080/app/.../feedback-group-modal.tpl.html.js 404 (Not Found)
oh. I need that extensions thing!
Jordan Weitz
@newduke
Jul 02 2015 20:52
I am getting Access-Control-Allow-Origin errors when moving from require to System.amdRequire:

``` _require(["//www.google-analytics.com/analytics.js";], function(){console.log("here")});

localRequire(deps, callback, errback)
VM34286:2 here
require(["//www.google-analytics.com/analytics.js";], function(){console.log("here")});

undefined
(index):1 XMLHttpRequest cannot load http://www.google-analytics.com/analytics.js. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://local.dev.udemy.com:8000' is therefore not allowed access.
local.dev.udemy.com/:1 Uncaught (in promise) : http://www.google-analytics.com/analytics.js
Error loading http://www.google-analytics.com/analytics.js```

Peter Müller
@Munter
Jul 02 2015 21:47
Looks like this issue has the answers to cors problems: systemjs/systemjs#225