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

The dot '.' stated in a static 'import' in a dynamically imported module should refer to current working dir #31822

Closed
datdinhquoc opened this issue Feb 17, 2020 · 2 comments
Labels
duplicate Issues and PRs that are duplicates of other issues or PRs.

Comments

@datdinhquoc
Copy link

Is your feature request related to a problem? Please describe.
https://stackoverflow.com/questions/59960317/how-to-set-current-directory-for-es6-dynamic-import-function

Describe the solution you'd like
import utils from "./utils.mjs"; instead of

import utils from "../../utils.mjs";

Describe alternatives you've considered
Using the dotdot-slashslash multiple times.

@devsnek

This comment has been minimized.

@devsnek devsnek marked this as a duplicate of #21787 Feb 17, 2020
@devsnek devsnek closed this as completed Feb 17, 2020
@devsnek devsnek added the duplicate Issues and PRs that are duplicates of other issues or PRs. label Feb 17, 2020
@devsnek devsnek marked this as not a duplicate of #21787 Feb 17, 2020
@devsnek
Copy link
Member

devsnek commented Feb 17, 2020

Duplicate of #1979

@devsnek devsnek marked this as a duplicate of #1979 Feb 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Issues and PRs that are duplicates of other issues or PRs.
Projects
None yet
Development

No branches or pull requests

2 participants