sindresorhus/resolve-from
Vedi su GitHubFrom version Node v8.9.0, require.resolve() accepts custom paths
Open
#8 aperta il 31 ott 2017
enhancementhelp wanted
Metriche repository
- Star
- (145 star)
- Metriche merge PR
- (Nessuna PR mergiata in 30 g)
Descrizione
See the new require.resolve.paths(request) and the updated require.resolve(request[, options]).
resolve-from can use these new exposed functions instead of accessing private functions of Module.
Of course, only when they are available.