* Create @babel/plugin-proposal-dynamic-import * Use airbnb/babel-plugin-dynamic-import-node Do not duplicate code, which will unavoidably lead to bugs being fixed in one plugin and not in the other. * Update error message * Add error callback to amd interop * Update babel-plugin-dynamic-import-node
12 lines
229 B
JavaScript
12 lines
229 B
JavaScript
System.register(["a"], function (_export, _context) {
|
|
"use strict";
|
|
|
|
return {
|
|
setters: [function (_a) {}],
|
|
execute: function () {
|
|
// TODO: This should throw in Babel 8
|
|
_context.import("b");
|
|
}
|
|
};
|
|
});
|