Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

require.resolve support #88

Open
guybedford opened this issue Aug 17, 2015 · 1 comment
Open

require.resolve support #88

guybedford opened this issue Aug 17, 2015 · 1 comment

Comments

@guybedford
Copy link
Member

This could be supported by rewriting require.resolve('x') to System.normalizeSync('x', module.uri).

@salfield
Copy link

Unfortunately, this wouldn't be quite sufficient, as System.normalizeSync returns a file uri, whilst require.resolve returns a file path.

salfield added a commit to salfield/socket.io that referenced this issue Feb 27, 2016
This is temporary fix pending a solution to jspm/npm#88
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants