Closed
Description
In version 0.0.74 of Traceur the following module
export default function foo() {}
Would compile into:
System.register("foo", [], function($__export) {
"use strict";
var __moduleName = "foo";
...
});
With the options {modules: 'instantiate', moduleName: true}
.
In 0.0.79 it now compiles into
System.register("foo.js", [], function($__export) {
"use strict";
var __moduleName = "foo.js";
...
});
//# sourceURL=foo.js
I can no longer import the module with import 'foo'
becasue .js
is added on to the end of the module name. I also reproduced this issue in 0.0.77.
Metadata
Metadata
Assignees
Labels
No labels