I just upgraded meteor to 1.7 and tried to replace pbastowski:[email protected]
with ecmascript
and ran into this issue.
import module from "./index.js"
produces this:
var module1 = _module;
var _module;
module1.watch(require("./index.js"), {
"default": function (v) {
_module = v;
}
}, 0);
Where, in my case, it gives the error "_module is not defined"