Skip to content

Module Aliasing #2772

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

Closed
adstep opened this issue Oct 19, 2016 · 3 comments
Closed

Module Aliasing #2772

adstep opened this issue Oct 19, 2016 · 3 comments

Comments

@adstep
Copy link

adstep commented Oct 19, 2016

How do I build my project with a webpack config using a resolve.alias. I have a 3rd party library dependency that requires aliasing a module what is the best way of accomplishing this?

@filipesilva
Copy link
Contributor

There is no way to directly access resolve.alias.

If you need typescript aliasing, you can just use the paths property in tsconfig.

If you need alias for sass/etc, this PR might help when it's merged: #2747

@hyrumwhite
Copy link

@filipesilva File aliasing seems like a fairly trivial feature to add since it's built into webpack, and it's super helpful for keeping code clean. Any chance this feature is coming soon?

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 7, 2019
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

3 participants