This repository was archived by the owner on Oct 9, 2020. It is now read-only.

Description
Hi, I would like to bundle two remote files with systemjs, here is my attempt:
const path = require('path')
const Builder = require('systemjs-builder');
var builder = new Builder('http://xxx.com/', path.join(__dirname,'./config.js'));
builder
.bundle(['xx.js','xx.js'], 'index.js')
.then(function () {
console.log('Build complete');
})
.catch(function (err) {
console.log('Build error');
console.log(err);
});
, obviously it doesn't work. What went wrong? Thx.