Closed dherman closed 11 years ago
The default normalize behavior produces the full name "x"
, and then the default resolve behavior produces baseURL + "x" + ".js"
, IOW, "http://example.com/scripts/x.js"
.
Dave
Note that to get the URL @jorendorff was thinking of you could do:
import "./x" as x;
Makes perfect sense.
Again suppose we have loaded a module
"a/b/c"
from the url"http://example.com/scripts/a/b/c.js"
, and it containsThe system loader's default resolve behavior produces the full name
"x"
and the url"http://example.com/scripts/a/b/x.js"
. That can't be right.