在SystemJS中可以这样:
// loads relative to the current page URL
System.import('./local-module.js');
// load from an absolute URL directly
System.import('https://code.jquery.com/jquery.js');
System.import('./app/es6-file.js').then(function(m) {
console.log(new m.q().es6); // yay
});
webpack2 有谁研究过?有这些特性吗?