15 lines
306 B
JavaScript
15 lines
306 B
JavaScript
|
importScripts('../../dist/system.src.js');
|
||
|
|
||
|
System.paths['babel'] = '../../node_modules/babel-core/browser.js';
|
||
|
|
||
|
System.transpiler = 'babel';
|
||
|
|
||
|
System.import('es6-and-amd.js').then(function(m) {
|
||
|
postMessage({
|
||
|
amd: m.amd_module,
|
||
|
es6: m.es6_module
|
||
|
});
|
||
|
}, function(err) {
|
||
|
console.error(err);
|
||
|
});
|