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

Support resolve.alias in webpack config #15

Open
vadimdemedes opened this issue Oct 23, 2017 · 1 comment
Open

Support resolve.alias in webpack config #15

vadimdemedes opened this issue Oct 23, 2017 · 1 comment

Comments

@vadimdemedes
Copy link

I'm currently working in a huge codebase, where authors use resolve.alias to avoid typing ../../../ in import statements. Would be very handy if open-this supported that config and opened the files.

How this feature would work is:

  1. Find webpack.config.js, if any
  2. See if there are any aliases in resolve.alias
  3. When open-this is executed, resolve aliases to the real path and open the right file

If you are also interested in having this feature, I'd be willing to submit a PR for it.

@t9md
Copy link
Owner

t9md commented Oct 23, 2017

It seem to good enhancement for webpack user, I want to see PR.

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

No branches or pull requests

2 participants