Files
Andy Hanson 89fa98a712 WIP
WIP

WIP

WIP

WIP

WIP

WIP: Remove trailing newlines

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP: All tests pass

WIP

WIP

WIP
2016-11-28 11:16:06 -08:00

38 lines
559 B
TypeScript

import System = require('systemjs');
System.config({
baseURL: '/app'
});
System.import('main.js');
System.config({
// or 'traceur' or 'typescript'
transpiler: 'babel',
// or traceurOptions or typescriptOptions
babelOptions: {
}
});
System.config({
map: {
traceur: 'path/to/traceur.js'
}
});
System.transpiler = 'traceur';
// loads './app.js' from the current directory
System.import('./app.js').then(function (m) {
console.log(m);
});
System.import('lodash').then(function (_) {
console.log(_);
});