These are chat archives for systemjs/systemjs

12th
Aug 2015
Simon Hampton
@simonh1000
Aug 12 2015 07:39

Anyone help with a gulp issue:

gulp.task('appscripts', function (cb) {
    builder.loadConfig('./assets/app/config.js')
    .then(function() {
        builder.config({'baseUrl': './assets/app'});

        return builder.build('app.js', 'dist/build.js')
    })
    .catch(function(err) {console.error(err);});
});

I end up with an ENOENT for /.../themes/af2015/app/app.js, when it should be looking for /.../themes/af2015/assets/app/app.js

I thought .config would allow me to overwrite config.js
Simon Hampton
@simonh1000
Aug 12 2015 08:09
OK, found this error - should be using baseURL
Sharon (Sean) Rolel
@Mosho1
Aug 12 2015 15:03
I'm getting this in IE9: Object doesn't support property or method 'setRequestHeader'
When trying to get files from cdnjs, using paths configuration