---
title: "Discussion on \"Why aren't you using Aliases in webpack config?\" | Hashnode"
description: "Discussion on \"Why aren't you using Aliases in webpack config?\". Are you Developer doing FrontEnd? Are you using Webpack?\nIf any answer is No, you can skip this post. \nBut if Yes, are you using aliases in your webpack configuration?\nIf Yes, you can leave this page. \nIf No, then let me ask you a question:\n\nWhy not?..."
url: "https://hashnode.com/posts/why-arent-you-using-aliases-in-webpack-config/5de7850aacfca8b73dfaf7eb"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Why aren't you using Aliases in webpack config?](https://blog.pankaj.pro/why-arent-you-using-aliases-in-webpack-config?utm_source=hashnode&utm_medium=feed)

Are you Developer doing FrontEnd? Are you using Webpack? If any answer is No, you can skip this post. But if Yes, are you using aliases in your webpack configuration? If Yes, you can leave this page. If No, then let me ask you a question: Why not?...

Dec 4, 2019 · blog.pankaj.pro  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#frontend](https://hashnode.com/tag/frontend)
-   [#webpack](https://hashnode.com/tag/webpack)
-   [#productivity](https://hashnode.com/tag/productivity)
-   [#refactoring](https://hashnode.com/tag/refactoring)

## Written by

[Pankaj Patel](https://hashnode.com/@pankajpatel)

@pankajpatel · Berlin

  
[View profile](https://hashnode.com/@pankajpatel)

Blog, Tech, Photography etc.

I am developer from India currently based in Berlin, Germany. I am very interested in Design, though I don't design 😉 I take care of it while making my apps. Photography, videography and having random conversation over beer are my activities of spare time. Timelapses and hyperlapses make me wonder all the time 😊

## Responses 1

Markdown supported · ⌘↵ to post

[Grigorii K. Shartsev](https://hashnode.com/@ShGK_me)

[Dec 4, 2019](https://hashnode.com/posts/why-arent-you-using-aliases-in-webpack-config/5de7850aacfca8b73dfaf7eb/comment/5de8291dacfca8b73dfafd7b)

I don't use Webpack Aliases. Even common-used like `@` for `src`.

1.  I don't think about import. Moreover, I usually don't even touch them. How? I'm using modern IDE. Apps like JetBrains WebStorm, IntellijI IDEA etc have perfect auto-imports.
    
2.  Not all IDE and not always works perfect with aliases. For example, known bug with resolving alias in project from Yarn Workspace: [youtrack.jetbrains.com/issue/WEB-39641](https://youtrack.jetbrains.com/issue/WEB-39641)
    
3.  Agreements. I think, if it's not commonly used alias (like `@` for `src`), the code could be too unobvious, unclear with such aliases... It'd unnecessary agreements.
    
4.  Today it's an application. Tomorrow we want co make a library from a part of code. Won't aliases make our code less reusable?
    

Maybe we just need to make project structure simpler, less deep?
