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

[ENHANCEMENT]: Support for package.json import aliases #71

Open
AndreaPontrandolfo opened this issue May 18, 2024 · 4 comments
Open

[ENHANCEMENT]: Support for package.json import aliases #71

AndreaPontrandolfo opened this issue May 18, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@AndreaPontrandolfo
Copy link

It would be nice if this library supported package.json import specifiers too, instead of just Typescript aliases.

@AndreaPontrandolfo
Copy link
Author

AndreaPontrandolfo commented May 18, 2024

It should be pretty easy with package-up

@vitonsky vitonsky added the enhancement New feature or request label May 19, 2024
@vitonsky
Copy link
Owner

Probably this use case may be resolved with issue #34

User may manually import package.json file and provide aliases from there to a new option.
This solution also cover any other imlementations of aliases

@MrHBS
Copy link

MrHBS commented Jun 26, 2024

I would love to see this too

@AndreaPontrandolfo
Copy link
Author

I tried to do this myself here, it's just an experiment, a naive implementation completely unusable in the real world. Maybe i will get back to it if i find the time.
Also relevant: un-ts/eslint-plugin-import-x#40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

3 participants