DEV Community

Discussion on: Webpack Aliases Keep My Code Sane

dweng0 profile image

Most editors update the references for you nowadays

mmcshinsky profile image
Michael McShinsky Author

Thanks for the feedback @jay ! @bitttttten brought up the same point. Usually, when using a modern IDE, I too get prompted for the reference updates which is really nice. I ran into this issue where a modern IDE prompted for an update one moment and then it didn't the next moment when working with a junior developer the other day during a refactor session.

I find that having this in place is going to make life so much more convenient and less prone to error when in deeply nested ../../../../../ by using an alias like @. Makes the code cleaner and easier to understand where I am getting all my dependencies from.