Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make 'import-index' handle more cases #292

Closed
henri5 opened this issue May 2, 2019 · 1 comment · Fixed by #293
Closed

Make 'import-index' handle more cases #292

henri5 opened this issue May 2, 2019 · 1 comment · Fixed by #293

Comments

@henri5
Copy link
Contributor

henri5 commented May 2, 2019

Case 1

const m = require('../.');

should be changed to

const m = require('..');

Case 2

const m = require('./.');

should should be changed to

const m = require('.');
@sindresorhus
Copy link
Owner

Sure, although I have never seen that in the wild.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants