-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH-2992: Changed the way we resolve an extension.
Instead of creating a new file on the fly with the corresponding resolve code, we use `require.resolve`'s `paths` option. It was introduced in Node.js `v8.9.0`. https://nodejs.org/api/modules.html#modules_require_resolve_paths_request Closes #2992. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
- Loading branch information
Akos Kitta
committed
Apr 24, 2019
1 parent
7087a38
commit f8137fe
Showing
2 changed files
with
2 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters