This repository was archived by the owner on Jul 31, 2018. It is now read-only.
This repository was archived by the owner on Jul 31, 2018. It is now read-only.
002 - web compat of file extension/index searching #51
Closed
Description
In talks with @domenic a concern about using error behavior of a URL derived from step 2 of https://html.spec.whatwg.org/multipage/webappapis.html#resolve-a-module-specifier . In particular, the current plan has been to search for file extension such that:
import './foo';
Would search multiple file extensions .mjs
, .js
, .json
, and .node
.
Since ./
, ../
, and /
do not immediately error upon resolution (they would error upon failed fetch) the question is if path searching could be limited to the error behavior for so called "bare" URLs within step 2.
Metadata
Metadata
Assignees
Labels
No labels